- Timestamp:
- Apr 24, 2003, 7:20:42 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wfake.cpp
r10033 r10038 1 /* $Id: win32wfake.cpp,v 1. 4 2003-04-24 13:59:15sandervl Exp $ */1 /* $Id: win32wfake.cpp,v 1.5 2003-04-24 17:20:42 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Fake Window Class for OS/2 … … 241 241 Win32FakeWindow *Win32FakeWindow::GetWindowFromOS2Handle(HWND hwndOS2) 242 242 { 243 if ( fInited) init();243 if (!fInited) init(); 244 244 245 245 HWND hwnd = (HWND)OSLibQueryProperty(hwndOS2, szPropOdinHandle); … … 274 274 HMODULE hmod; 275 275 ULONG iObj, offObj; 276 USHORT GetFS(); 276 USHORT sel = GetFS(); 277 277 278 int rc = DosQueryModFromEIP(&hmod, &iObj, sizeof(szModName), &szModName[0], &offObj, (ULONG)Win32FakeWindow::init); 278 SetFS(rc); 279 SetFS(sel); 280 279 281 if (rc) 280 282 {
Note:
See TracChangeset
for help on using the changeset viewer.