From d9ecab2dcd4ca334e1923d8c9beadeb3e231a4b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Dec 2014 15:45:33 +0000 Subject: various calls of setlocale removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WebView/src/webview_alerts.cpp | 2 -- plugins/WebView/src/webview_getdata.cpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'plugins/WebView') 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)); -- cgit v1.2.3