summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-18 15:45:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-18 15:45:33 +0000
commitd9ecab2dcd4ca334e1923d8c9beadeb3e231a4b8 (patch)
tree159cf9b74f1351c79339e872d8f032181411c38f /plugins/WebView
parentbf9a197e3e5e22fa01263492574cf27d582bed36 (diff)
various calls of setlocale removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WebView')
-rw-r--r--plugins/WebView/src/webview_alerts.cpp2
-rw-r--r--plugins/WebView/src/webview_getdata.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp
index e583c4ed4e..8592a9ac9c 100644
--- a/plugins/WebView/src/webview_alerts.cpp
+++ b/plugins/WebView/src/webview_alerts.cpp
@@ -234,8 +234,6 @@ void SaveToFile(MCONTACT hContact, char *truncated)
char timestring[128], timeprefix[32];
char temptime1[32], temptime2[32];
- setlocale(LC_ALL, "");
-
time_t ftime = time(NULL);
struct tm *nTime = localtime(&ftime);
diff --git a/plugins/WebView/src/webview_getdata.cpp b/plugins/WebView/src/webview_getdata.cpp
index 3b5fe09db2..c53d01f15d 100644
--- a/plugins/WebView/src/webview_getdata.cpp
+++ b/plugins/WebView/src/webview_getdata.cpp
@@ -274,8 +274,6 @@ void GetData(void *param)
time_t ftime;
struct tm *nTime;
- setlocale(LC_ALL, "");
-
if (!db_get_s(hContact, MODULENAME, PRESERVE_NAME_KEY, &dbv)) {
memset(&temptime, 0, sizeof(temptime));
memset(&tstr, 0, sizeof(tstr));