fixed bug in notification of substituted chars in RetroShareLink

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-12-16 16:28:00 +00:00
parent f1b7a3eee5
commit dc57acb20c
2 changed files with 2 additions and 1 deletions

View File

@ -1062,6 +1062,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
QString cleanname = link.name() ;
static const QString bad_chars_str = "/\\\"*:?<>|" ;
flag &= ~RSLINK_PROCESS_NOTIFY_BAD_CHARS ;
for(uint32_t i=0;i<cleanname.length();++i)
for(uint32_t j=0;j<bad_chars_str.length();++j)

View File

@ -42,7 +42,7 @@
#define RSLINK_PROCESS_NOTIFY_ASK 4 // ask for add the links
#define RSLINK_PROCESS_NOTIFY_BAD_CHARS 8 // / or \\ characters in a filename
#define RSLINK_PROCESS_NOTIFY_ALL -1
#define RSLINK_PROCESS_NOTIFY_ALL 15
#define RSLINK_SCHEME "retroshare"