summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SeenPlugin/src/options.cpp2
-rw-r--r--plugins/SeenPlugin/src/utils.cpp2
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));
}