diff options
author | Kirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com> | 2017-06-14 08:40:15 +0300 |
---|---|---|
committer | Kirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com> | 2017-06-14 08:40:15 +0300 |
commit | ff728bba88080d5cd2b272bfe2792b5651e222fe (patch) | |
tree | 80d469ea7b68a61ba791ee385bfbe793f50b7f30 /plugins | |
parent | 4e29ae1bb46f4cda80dc678768492e6ea8276c30 (diff) |
SeenPlugin: delimiter between protocols changed to non-printed "\n"
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SeenPlugin/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/utils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/options.cpp b/plugins/SeenPlugin/src/options.cpp index 7115fcd979..0a3b89fa8a 100644 --- a/plugins/SeenPlugin/src/options.cpp +++ b/plugins/SeenPlugin/src/options.cpp @@ -377,7 +377,7 @@ INT_PTR CALLBACK OptsSettingsDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM if ((BOOL)(tvItem.state >> 12) - 1) {
size += (int)mir_strlen(protocol) + 2;
if (!watchedProtocols.IsEmpty())
- watchedProtocols.AppendChar(' ');
+ watchedProtocols.AppendChar('\n');
watchedProtocols.Append(protocol);
}
hItem = TreeView_GetNextSibling(hwndTreeView, hItem);
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index d1cf8d8a17..302dfa1dbd 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -32,7 +32,7 @@ void LoadWatchedProtos() if (szProtos == NULL)
return;
- for (char *p = strtok(szProtos, " "); p != NULL; p = strtok(NULL, " "))
+ for (char *p = strtok(szProtos, "\n"); p != NULL; p = strtok(NULL, "\n"))
arWatchedProtos.insert(mir_strdup(p));
}
|