diff options
author | Alexander Tkachev | 2016-07-08 16:38:26 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | a424ebbc28549c0e06b9a8ca4985bf799179c404 (patch) | |
tree | acf835fc21905e484ad24357bb9c560514ebb8ef /backends/networking/sdl_net/handlers/filespagehandler.cpp | |
parent | eaa5fb175939c819785095d23bd67e3514144ec7 (diff) | |
download | scummvm-rg350-a424ebbc28549c0e06b9a8ca4985bf799179c404.tar.gz scummvm-rg350-a424ebbc28549c0e06b9a8ca4985bf799179c404.tar.bz2 scummvm-rg350-a424ebbc28549c0e06b9a8ca4985bf799179c404.zip |
CLOUD: Fix quotes encoding
Diffstat (limited to 'backends/networking/sdl_net/handlers/filespagehandler.cpp')
-rw-r--r-- | backends/networking/sdl_net/handlers/filespagehandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/handlers/filespagehandler.cpp b/backends/networking/sdl_net/handlers/filespagehandler.cpp index 228bf7657b..4b18ac3247 100644 --- a/backends/networking/sdl_net/handlers/filespagehandler.cpp +++ b/backends/networking/sdl_net/handlers/filespagehandler.cpp @@ -40,6 +40,8 @@ Common::String encodeDoubleQuotes(Common::String s) { for (uint32 i = 0; i < s.size(); ++i) if (s[i] == '"') { result += "\\\""; + } else if (s[i] == '\\') { + result += "\\\\"; } else result += s[i]; return result; } |