From 2df859e61f17e64764c988df9db23ef8140ebf90 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 17 Jun 2012 16:23:48 +0000 Subject: cosmetic settings fix git-svn-id: http://svn.miranda-ng.org/main/trunk@463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_keyboard.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/Clist_modern/modern_keyboard.cpp') diff --git a/plugins/Clist_modern/modern_keyboard.cpp b/plugins/Clist_modern/modern_keyboard.cpp index abc97debab..2bcd0a373f 100644 --- a/plugins/Clist_modern/modern_keyboard.cpp +++ b/plugins/Clist_modern/modern_keyboard.cpp @@ -34,7 +34,7 @@ INT_PTR hkCloseMiranda(WPARAM wParam,LPARAM lParam) INT_PTR hkRestoreStatus(WPARAM wParam,LPARAM lParam) { int nStatus = ModernGetSettingWord(NULL, "CList", "Status", ID_STATUS_OFFLINE); - CallService(MS_CLIST_SETSTATUSMODE, nStatus, 0); + CallService(MS_CLIST_SETSTATUSMODE, nStatus, 0); return 0; } @@ -46,17 +46,18 @@ int InitSkinHotKeys(void) HOTKEYDESC shk = {0}; shk.cbSize=sizeof(shk); + shk.dwFlags=HKD_TCHAR; - shk.pszDescription=LPGEN("Close Miranda"); + shk.ptszDescription=LPGENT("Close Miranda"); shk.pszName="CloseMiranda"; - shk.pszSection=LPGEN("Main"); + shk.ptszSection=LPGENT("Main"); shk.pszService="CLIST/HK/CloseMiranda"; shk.DefHotKey=0; CallService(MS_HOTKEY_REGISTER,0,(LPARAM)&shk); - shk.pszDescription=LPGEN("Restore last status"); + shk.ptszDescription=LPGENT("Restore last status"); shk.pszName="RestoreLastStatus"; - shk.pszSection=LPGEN("Status"); + shk.ptszSection=LPGENT("Status"); shk.pszService="CLIST/HK/RestoreStatus"; shk.DefHotKey=0; CallService(MS_HOTKEY_REGISTER,0,(LPARAM)&shk); -- cgit v1.2.3