aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp
diff options
context:
space:
mode:
authorPeter Bozsó2016-07-21 09:29:54 +0200
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit9254df2d9614b2cc8e35a3abbdc593e54616a322 (patch)
treea839f73d6e63250bce2fc8cf4eccb0cbac92e555 /backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp
parent772d8ee42b820a5c19a8d9a9efb215f17606fb8f (diff)
downloadscummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.tar.gz
scummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.tar.bz2
scummvm-rg350-9254df2d9614b2cc8e35a3abbdc593e54616a322.zip
CLOUD: Fix code formatting
Diffstat (limited to 'backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp')
-rw-r--r--backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp b/backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp
index 7d48458d5e..6cf18aeb79 100644
--- a/backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp
+++ b/backends/networking/sdl_net/handlers/filesajaxpagehandler.cpp
@@ -34,6 +34,7 @@ FilesAjaxPageHandler::FilesAjaxPageHandler() {}
FilesAjaxPageHandler::~FilesAjaxPageHandler() {}
namespace {
+
Common::String encodeDoubleQuotesAndSlashes(Common::String s) {
Common::String result = "";
for (uint32 i = 0; i < s.size(); ++i)
@@ -42,8 +43,9 @@ Common::String encodeDoubleQuotesAndSlashes(Common::String s) {
} else if (s[i] == '\\') {
result += "\\\\";
} else result += s[i];
- return result;
+ return result;
}
+
}
void FilesAjaxPageHandler::handle(Client &client) {