mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
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:
parent
f1b7a3eee5
commit
dc57acb20c
@ -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)
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user