summaryrefslogtreecommitdiff
path: root/src/mir_core/db.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-08 19:55:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-08 19:55:34 +0000
commit39bd74cbd4d2dbe536d003c15d17f5eefd572394 (patch)
treef5c5f388eb6a85511edfb202fdff34ec36d2938b /src/mir_core/db.cpp
parentb452546a225e5c527a0380516440fd6b291a9463 (diff)
fixed writing current langpack in db
git-svn-id: http://svn.miranda-ng.org/main/trunk@10130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/db.cpp')
-rw-r--r--src/mir_core/db.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_core/db.cpp b/src/mir_core/db.cpp
index e87c371898..9fc57870ad 100644
--- a/src/mir_core/db.cpp
+++ b/src/mir_core/db.cpp
@@ -359,6 +359,8 @@ extern "C" MIR_CORE_DLL(void) db_setCurrent(MIDatabase *_db)
ptrT langpack(db_get_tsa(NULL, "Langpack", "Current"));
if (langpack && langpack[0] != '\0')
LoadLangPack(langpack);
+ else
+ GetDefaultLang();
}
MIR_CORE_DLL(BOOL) db_set_resident(const char *szModule, const char *szService, BOOL bEnable)