diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:53:07 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:53:07 +0200 |
commit | 583d6a1fd6701e3d42c87285265b0b4f7657ab7c (patch) | |
tree | 78461dd1a74685252eef77b8e7d3b622d1be67ea /library/globalFunctions.cpp | |
parent | 1.9 (diff) | |
download | FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.gz FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.bz2 FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.zip |
1.10
Diffstat (limited to 'library/globalFunctions.cpp')
-rw-r--r-- | library/globalFunctions.cpp | 7 |
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()); |