summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-28 15:58:48 +0200
committerMattes D <github@xoft.cz>2014-08-28 15:58:48 +0200
commit271c8c0d3246749087f9772df31896d93f2cb9f3 (patch)
tree996deeecb3fbf49f78ada88cea090ca2586fcbee /src/StringUtils.h
parentMerge remote-tracking branch 'origin/master' into CraftingFixes (diff)
downloadcuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.gz
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.bz2
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.lz
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.xz
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.zst
cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.zip
Diffstat (limited to '')
-rw-r--r--src/StringUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index a63d852ee..4a4c267c7 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -117,7 +117,7 @@ bool StringToInteger(const AString& a_str, T& a_Num)
}
if (positive)
{
- for(size_t size = a_str.size(); i < size; i++)
+ for (size_t size = a_str.size(); i < size; i++)
{
if ((a_str[i] <= '0') || (a_str[i] >= '9'))
{
@@ -138,7 +138,7 @@ bool StringToInteger(const AString& a_str, T& a_Num)
}
else
{
- for(size_t size = a_str.size(); i < size; i++)
+ for (size_t size = a_str.size(); i < size; i++)
{
if ((a_str[i] <= '0') || (a_str[i] >= '9'))
{