From ab51786ccf2e10217fe25c2dae5de1b2609e76cf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 14 Jan 2014 22:55:55 +0000 Subject: fix for the options reading git-svn-id: http://svn.miranda-ng.org/main/trunk@7660 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/chat_opts.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/chat/chat_opts.cpp') diff --git a/src/modules/chat/chat_opts.cpp b/src/modules/chat/chat_opts.cpp index ce73ae8897..eb1dae31ce 100644 --- a/src/modules/chat/chat_opts.cpp +++ b/src/modules/chat/chat_opts.cpp @@ -234,6 +234,9 @@ void LoadGlobalSettings(void) ci.pSettings->ShowContactStatus = db_get_b(NULL, "Chat", "ShowContactStatus", 0); ci.pSettings->ContactStatusFirst = db_get_b(NULL, "Chat", "ContactStatusFirst", 0); + if (ci.OnLoadSettings) + ci.OnLoadSettings(); + InitSetting(&ci.pSettings->pszTimeStamp, "HeaderTime", _T("[%H:%M]")); InitSetting(&ci.pSettings->pszTimeStampLog, "LogTimestamp", _T("[%d %b %y %H:%M]")); InitSetting(&ci.pSettings->pszIncomingNick, "HeaderIncoming", _T("%n:")); -- cgit v1.2.3