diff options
author | Peter Bozsó | 2016-07-21 09:29:54 +0200 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 9254df2d9614b2cc8e35a3abbdc593e54616a322 (patch) | |
tree | a839f73d6e63250bce2fc8cf4eccb0cbac92e555 /backends/cloud/id | |
parent | 772d8ee42b820a5c19a8d9a9efb215f17606fb8f (diff) | |
download | scummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.tar.gz scummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.tar.bz2 scummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.zip |
CLOUD: Fix code formatting
Diffstat (limited to 'backends/cloud/id')
-rw-r--r-- | backends/cloud/id/idcreatedirectoryrequest.cpp | 2 | ||||
-rw-r--r-- | backends/cloud/id/idresolveidrequest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/cloud/id/idcreatedirectoryrequest.cpp b/backends/cloud/id/idcreatedirectoryrequest.cpp index f64133c888..11f65033ae 100644 --- a/backends/cloud/id/idcreatedirectoryrequest.cpp +++ b/backends/cloud/id/idcreatedirectoryrequest.cpp @@ -104,7 +104,7 @@ void IdCreateDirectoryRequest::idResolveFailedCallback(Networking::ErrorResponse Common::String parentId = error.response; for (uint32 i = 0; i < parentId.size(); ++i) if (parentId[i] == '\n') { - parentId.erase(0, i+1); + parentId.erase(0, i + 1); break; } diff --git a/backends/cloud/id/idresolveidrequest.cpp b/backends/cloud/id/idresolveidrequest.cpp index abd64df1db..38478fa149 100644 --- a/backends/cloud/id/idresolveidrequest.cpp +++ b/backends/cloud/id/idresolveidrequest.cpp @@ -101,7 +101,7 @@ void IdResolveIdRequest::listedDirectoryCallback(Storage::FileArrayResponse resp } if (!found) { - if (lastLevel) finishError(Networking::ErrorResponse(this, false, true, Common::String("no such file found in its parent directory\n")+_currentDirectoryId, 404)); + if (lastLevel) finishError(Networking::ErrorResponse(this, false, true, Common::String("no such file found in its parent directory\n") + _currentDirectoryId, 404)); else finishError(Networking::ErrorResponse(this, false, true, "subdirectory not found", 400)); } } |