From f4fe732ccbd65fd584b7787f3b5aec904a85d11b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 May 2014 12:28:40 +0300 Subject: Fix code style. --- src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') 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(ptr); - if (status == DownloadStatus::COMPLETE) + if (status == DownloadStatus::Complete) { ChatTab *const tab = info->tab; if (chatWindow && (!tab || chatWindow->isTabPresent(tab))) -- cgit v1.2.3-60-g2f50