Changeset 5802 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- May 25, 2001, 6:59:11 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r5796 r5802 1 /* $Id: win32dlg.cpp,v 1.6 4 2001-05-24 19:27:00sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.65 2001-05-25 16:59:11 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 32 32 33 33 #define DEFAULT_DLGFONT "9.WarpSans" 34 35 #define GET_SHORT(ptr) (*(SHORT *)(ptr)) 34 36 35 37 //****************************************************************************** … … 532 534 } 533 535 result->nbItems = GET_WORD(p); p++; 534 result->x = GET_WORD(p); p++; 535 result->y = GET_WORD(p); p++; 536 //x & y are signed words 537 result->x = GET_SHORT(p); p++; 538 result->y = GET_SHORT(p); p++; 536 539 result->cx = GET_WORD(p); p++; 537 540 result->cy = GET_WORD(p); p++; … … 620 623 info->exStyle = GET_DWORD(p); p += 2; 621 624 } 622 info->x = GET_WORD(p); p++; 623 info->y = GET_WORD(p); p++; 625 //x & y are signed words (VirtualPC Settings dailog) 626 info->x = GET_SHORT(p); p++; 627 info->y = GET_SHORT(p); p++; 624 628 info->cx = GET_WORD(p); p++; 625 629 info->cy = GET_WORD(p); p++;
Note:
See TracChangeset
for help on using the changeset viewer.