Changeset 21347 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Oct 31, 2009, 8:56:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r21345 r21347 152 152 // We make sure PM is up and running for our purposes and init the existing 153 153 // thread 0. 154 //************************** ****************************************************154 //****************************************************************************** 155 155 BOOL InitPM() 156 156 { … … 198 198 hookInit(hab); 199 199 200 BOOL rc = WinSetCp(hmq, GetDisplayCodepage());201 dprintf(("InitPM: WinSetCP was %sOK", rc ? "" : "not "));200 //BOOL rc = WinSetCp(hmq, GetDisplayCodepage()); 201 //dprintf(("InitPM: WinSetCP was %s OK", rc ? " " : "not ")); 202 202 203 203 /* IM instace is created per message queue, that is, thread */ … … 935 935 */ 936 936 if (WINWM_KEYDOWN == pWinMsg->message && 937 ( SHORT1FROMMP(mp1) & KC_CHAR) &&938 ((pWinMsg->wParam >= 0x30 && pWinMsg->wParam <= 0x5A) ||939 pWinMsg->wParam == 0x20))937 (((SHORT1FROMMP(mp1) & KC_CHAR) && 938 !(SHORT1FROMMP(mp1) & KC_VIRTUALKEY)) || 939 (SHORT1FROMMP(mp1) & KC_DEADKEY))) 940 940 { 941 941 MSG extramsg; … … 943 943 extramsg.message = WINWM_CHAR; 944 944 extramsg.wParam = (ULONG)mp2; 945 if(SHORT1FROMMP(mp1) & KC_DEADKEY) 946 { 947 extramsg.message++; //WM_DEADCHAR/WM_SYSDEADCHAR 948 } 949 945 950 win32wnd->MsgChar(&extramsg); 946 951 }
Note:
See TracChangeset
for help on using the changeset viewer.