aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tkachev2019-07-23 23:46:25 +0700
committerMatan Bareket2019-07-30 14:51:41 -0400
commit16d97b6948326eb07e49b57a567b469493fa1916 (patch)
tree791603b0b177c8d4b8bfa2317971bf9e950fa9e3
parentf7902583bc7a3aac702d10488e47805742753d0a (diff)
downloadscummvm-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.cpp2
-rw-r--r--gui/options.cpp4
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)