diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-21 18:08:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-21 18:08:38 +0300 |
commit | 03ba85dcd2d47cf31d6181b40620e278f7f30427 (patch) | |
tree | b094d6ec3070821a67455d4812d7776888eac803 /plugins/Dropbox | |
parent | d15ac078344461faee80f676b49d2194387b9862 (diff) |
more warnings fixed
Diffstat (limited to 'plugins/Dropbox')
-rw-r--r-- | plugins/Dropbox/src/dropbox_commands.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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');
}
}
|