diff options
author | Alexander Tkachev | 2019-07-23 23:46:25 +0700 |
---|---|---|
committer | Matan Bareket | 2019-07-30 14:51:41 -0400 |
commit | 16d97b6948326eb07e49b57a567b469493fa1916 (patch) | |
tree | 791603b0b177c8d4b8bfa2317971bf9e950fa9e3 | |
parent | f7902583bc7a3aac702d10488e47805742753d0a (diff) | |
download | scummvm-rg350-16d97b6948326eb07e49b57a567b469493fa1916.tar.gz scummvm-rg350-16d97b6948326eb07e49b57a567b469493fa1916.tar.bz2 scummvm-rg350-16d97b6948326eb07e49b57a567b469493fa1916.zip |
CLOUD: Minor fixes for the PR#1754
- added missing 'd' in "%d" in SavesSyncRequest;
- removed trailing ',' in enum in gui/options.h;
- fixed #endif to have // before USE_LIBCURL in gui/options.h.
-rw-r--r-- | backends/cloud/savessyncrequest.cpp | 2 | ||||
-rw-r--r-- | gui/options.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp index 8d34c21b83..ab455c63a2 100644 --- a/backends/cloud/savessyncrequest.cpp +++ b/backends/cloud/savessyncrequest.cpp @@ -121,7 +121,7 @@ void SavesSyncRequest::directoryListedCallback(Storage::ListDirectoryResponse re else if (_localFilesTimestamps[name] > file.timestamp()) debug(9, "- uploading file %s, because it is %d seconds newer than remote\n\tlocal = %d; \tremote = %d", name.c_str(), _localFilesTimestamps[name] - file.timestamp(), _localFilesTimestamps[name], file.timestamp()); else - debug(9, "- downloading file %s, because it is %d seconds older than remote\n\tlocal = %d; \tremote = %", name.c_str(), file.timestamp() - _localFilesTimestamps[name], _localFilesTimestamps[name], file.timestamp()); + debug(9, "- downloading file %s, because it is %d seconds older than remote\n\tlocal = %d; \tremote = %d", name.c_str(), file.timestamp() - _localFilesTimestamps[name], _localFilesTimestamps[name], file.timestamp()); } } diff --git a/gui/options.cpp b/gui/options.cpp index 6be08d40cb..7d9558a4a7 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -114,7 +114,7 @@ enum { kConnectStorageCmd = 'Cnnt', kOpenUrlStorageCmd = 'OpUr', kPasteCodeStorageCmd = 'PsCd', - kDisconnectStorageCmd = 'DcSt', + kDisconnectStorageCmd = 'DcSt' }; #endif @@ -1760,7 +1760,7 @@ void GlobalOptionsDialog::build() { setTarget(container); addCloudControls(container, "GlobalOptions_Cloud_Container.", context); -#endif USE_LIBCURL +#endif // USE_LIBCURL #ifdef USE_SDL_NET // // 8) The LAN tab (local "cloud" webserver) |