summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-10 08:47:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-10 08:47:03 +0000
commit9319159d78d3f42cc3affc624ee088b47eec47ff (patch)
tree07485d6789ee8a9f5b8a50c12fd28fa7322ef163
parentfe738f89fd1ce19fee7c7b4455969c7ad570a8bc (diff)
don't write selected language in mirandaboot.ini
git-svn-id: http://svn.miranda-ng.org/main/trunk@10141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/langpack/lpopts.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/langpack/lpopts.cpp b/src/modules/langpack/lpopts.cpp
index 5ea238b859..a6963d89b1 100644
--- a/src/modules/langpack/lpopts.cpp
+++ b/src/modules/langpack/lpopts.cpp
@@ -167,8 +167,6 @@ INT_PTR CALLBACK DlgLangpackOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
LANGPACK_INFO *pack = (LANGPACK_INFO*)ComboBox_GetItemData(hwndList, i);
if (i == idx) {
db_set_ts(NULL, "Langpack", "Current", pack->tszFileName);
- PathToAbsoluteT(_T("\\mirandaboot.ini"), tszPath);
- WritePrivateProfileString(_T("Language"), _T("DefaultLanguage"), pack->tszFileName, tszPath);
lstrcpy(tszPath, pack->tszFullPath);
pack->flags |= LPF_ENABLED;
}