From 03ba85dcd2d47cf31d6181b40620e278f7f30427 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Mar 2017 18:08:38 +0300 Subject: more warnings fixed --- plugins/Dropbox/src/dropbox_commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Dropbox/src/dropbox_commands.cpp') diff --git a/plugins/Dropbox/src/dropbox_commands.cpp b/plugins/Dropbox/src/dropbox_commands.cpp index 350fd3d8c7..c9eb2492ae 100644 --- a/plugins/Dropbox/src/dropbox_commands.cpp +++ b/plugins/Dropbox/src/dropbox_commands.cpp @@ -55,7 +55,8 @@ void CDropbox::CommandList(void *arg) for (size_t i = 0; i < entries.size(); i++) { JSONNode entry = entries[i]; CMStringA subName(entry.at("path_lower").as_string().c_str()); - message.AppendFormat("%s\n", (subName[0] == '/') ? subName.Mid(1) : subName); + message.Append((subName[0] == '/') ? subName.Mid(1) : subName); + message.AppendChar('\n'); } } -- cgit v1.2.3