summaryrefslogtreecommitdiff
path: root/library/globalFunctions.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:53:07 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:53:07 +0200
commit583d6a1fd6701e3d42c87285265b0b4f7657ab7c (patch)
tree78461dd1a74685252eef77b8e7d3b622d1be67ea /library/globalFunctions.cpp
parent1.9 (diff)
downloadFreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.gz
FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.bz2
FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.zip
1.10
Diffstat (limited to 'library/globalFunctions.cpp')
-rw-r--r--library/globalFunctions.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/library/globalFunctions.cpp b/library/globalFunctions.cpp
index d4579312..67b56819 100644
--- a/library/globalFunctions.cpp
+++ b/library/globalFunctions.cpp
@@ -11,7 +11,7 @@ int globalFunctions::round(const double d)
string globalFunctions::numberToString(const unsigned int number)
{
char result[100];
- sprintf( result, "%u", number);
+ sprintf(result, "%u", number);
return string(result);
}
@@ -19,7 +19,7 @@ string globalFunctions::numberToString(const unsigned int number)
string globalFunctions::numberToString(const int number)
{
char result[100];
- sprintf( result, "%d", number);
+ sprintf(result, "%d", number);
return string(result);
}
@@ -27,7 +27,7 @@ string globalFunctions::numberToString(const int number)
string globalFunctions::numberToString(const float number)
{
char result[100];
- sprintf( result, "%f", number);
+ sprintf(result, "%f", number);
return string(result);
}
@@ -50,7 +50,6 @@ wxString globalFunctions::numberToWxString(const float number)
}
-inline
int globalFunctions::stringToInt(const string& number)
{
return atoi(number.c_str());
bgstack15