diff options
Diffstat (limited to 'plugins/helpers/gen_helpers.cpp')
-rw-r--r-- | plugins/helpers/gen_helpers.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/helpers/gen_helpers.cpp b/plugins/helpers/gen_helpers.cpp index 1174f1fdeb..eb2940adb2 100644 --- a/plugins/helpers/gen_helpers.cpp +++ b/plugins/helpers/gen_helpers.cpp @@ -126,13 +126,8 @@ int ttoi(TCHAR *string) TCHAR *itot(int num)
{
-
- char tRes[32];
-
+ TCHAR tRes[32];
// check this
- _itoa(num, tRes, 10);
-
-
- return mir_a2t(tRes);
-
+ _itot(num, tRes, 10);
+ return mir_tstrdup(tRes);
}
|