summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 12:28:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-21 20:26:12 +0300
commitf4fe732ccbd65fd584b7787f3b5aec904a85d11b (patch)
tree5cf6023ab3713316326547026c10f2fb4ce6d8b8 /src/commands.cpp
parentc78423448941517eeae0a60e703a5dc2976aed0c (diff)
downloadplus-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.gz
plus-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.bz2
plus-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.xz
plus-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.zip
Fix code style.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index f4ead27e7..711806021 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1307,11 +1307,11 @@ static int uploadUpdate(void *ptr,
size_t total A_UNUSED,
size_t remaining A_UNUSED)
{
- if (status == DownloadStatus::IDLE || status == DownloadStatus::STARTING)
+ if (status == DownloadStatus::Idle || status == DownloadStatus::Starting)
return 0;
UploadChatInfo *const info = reinterpret_cast<UploadChatInfo*>(ptr);
- if (status == DownloadStatus::COMPLETE)
+ if (status == DownloadStatus::Complete)
{
ChatTab *const tab = info->tab;
if (chatWindow && (!tab || chatWindow->isTabPresent(tab)))