aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/iso8601.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-21 11:44:36 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit438ba985a4a97a8695a6e6fdda6930694976c07b (patch)
tree066e589b809278ff2e06df31069f8ea3fb6989d7 /backends/cloud/iso8601.cpp
parent01161ae7ddbc5f147dd9e71991eb2f1a1c9a7b06 (diff)
downloadscummvm-rg350-438ba985a4a97a8695a6e6fdda6930694976c07b.tar.gz
scummvm-rg350-438ba985a4a97a8695a6e6fdda6930694976c07b.tar.bz2
scummvm-rg350-438ba985a4a97a8695a6e6fdda6930694976c07b.zip
JANITORIAL: Remove spaces at the end of the line
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
Diffstat (limited to 'backends/cloud/iso8601.cpp')
-rw-r--r--backends/cloud/iso8601.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/iso8601.cpp b/backends/cloud/iso8601.cpp
index 1675c7ce54..b2483fd7f9 100644
--- a/backends/cloud/iso8601.cpp
+++ b/backends/cloud/iso8601.cpp
@@ -44,9 +44,9 @@ int find(const char *cstr, uint32 startPosition, char needle) {
namespace Cloud {
namespace ISO8601 {
-uint32 convertToTimestamp(const Common::String &iso8601Date) {
+uint32 convertToTimestamp(const Common::String &iso8601Date) {
//2015-05-12T15:50:38Z
- const char *cstr = iso8601Date.c_str();
+ const char *cstr = iso8601Date.c_str();
int firstHyphen = find(cstr, 0, '-');
int secondHyphen = find(cstr, firstHyphen + 1, '-');
int tSeparator = find(cstr, secondHyphen + 1, 'T');
@@ -54,7 +54,7 @@ uint32 convertToTimestamp(const Common::String &iso8601Date) {
int secondColon = find(cstr, firstColon + 1, ':');
int zSeparator = find(cstr, secondColon + 1, 'Z');
if (zSeparator == -1) zSeparator = find(cstr, secondColon + 1, '-'); // Box's RFC 3339
- //now note '+1' which means if there ever was '-1' result of find(), we still did a valid find() from 0th char
+ //now note '+1' which means if there ever was '-1' result of find(), we still did a valid find() from 0th char
Common::String year = getSubstring(iso8601Date, 0, firstHyphen);
Common::String month = getSubstring(iso8601Date, firstHyphen + 1, secondHyphen);