summaryrefslogtreecommitdiff
path: root/library/globalFunctions.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:55:48 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:55:48 +0200
commitdaea231de0ae28fc8343f29f09d0457cc0591461 (patch)
treea1d572442d2c903e40741a859ad47c8b0d740969 /library/globalFunctions.cpp
parent1.13 (diff)
downloadFreeFileSync-daea231de0ae28fc8343f29f09d0457cc0591461.tar.gz
FreeFileSync-daea231de0ae28fc8343f29f09d0457cc0591461.tar.bz2
FreeFileSync-daea231de0ae28fc8343f29f09d0457cc0591461.zip
1.14
Diffstat (limited to 'library/globalFunctions.cpp')
-rw-r--r--library/globalFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/globalFunctions.cpp b/library/globalFunctions.cpp
index 7e99e036..7f8b57c0 100644
--- a/library/globalFunctions.cpp
+++ b/library/globalFunctions.cpp
@@ -73,7 +73,7 @@ int globalFunctions::wxStringToInt(const wxString& number)
if (number.ToLong(&result))
return result;
else
- throw RuntimeException(_("Error when converting wxString to long"));
+ throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> long"));
}
@@ -84,7 +84,7 @@ double globalFunctions::wxStringToDouble(const wxString& number)
if (number.ToDouble(&result))
return result;
else
- throw RuntimeException(_("Error when converting wxString to double"));
+ throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> double"));
}
bgstack15