- Timestamp:
- Oct 6, 2000, 5:15:00 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/char.cpp
r3209 r4444 1 /* $Id: char.cpp,v 1.1 3 2000-03-23 23:06:51sandervl Exp $ */1 /* $Id: char.cpp,v 1.14 2000-10-06 15:15:00 sandervl Exp $ */ 2 2 3 3 /* … … 379 379 //****************************************************************************** 380 380 //****************************************************************************** 381 BOOL WIN32API OemToCharBuffA( LPCSTR arg1, LPSTR arg2, DWORD arg3) 382 { 381 BOOL WIN32API OemToCharBuffA( LPCSTR src, LPSTR dest, DWORD count) 382 { 383 BOOL rc; 384 383 385 dprintf(("USER32: OS2OemToCharBuffA\n")); 384 return O32_OemToCharBuff(arg1, arg2, arg3); 386 rc = O32_OemToCharBuff(src, dest, count); 387 if(rc) { 388 //SvL: Open32 replaces special character (i.e. /r & /n) with 0xff 389 // -> break edit control (OEMCONVERT) (i.e. Netscape 6 install license control) 390 for(int i=0;i<count;i++) { 391 if(dest[i] == 0xFF) { 392 dest[i] = src[i]; 393 } 394 } 395 } 396 return rc; 385 397 } 386 398 //****************************************************************************** -
trunk/src/user32/win32dlg.cpp
r4434 r4444 1 /* $Id: win32dlg.cpp,v 1.5 2 2000-10-05 18:37:26sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.53 2000-10-06 15:15:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 718 718 int rc; 719 719 720 if (!windowClass || !windowClass->getBackgroundBrush()) return 0; 720 // if (!windowClass || !windowClass->getBackgroundBrush()) return 0; 721 if (!windowClass) return 0; 721 722 722 723 rc = GetClipBox( (HDC)wParam, &rect ); 723 724 if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION)) 724 725 { 726 #if 0 725 727 HBRUSH hBrush = windowClass->getBackgroundBrush(); 726 728 … … 728 730 hBrush = GetSysColorBrush(hBrush-1); 729 731 730 FillRect( (HDC)wParam, &rect, hBrush); 732 FillRect( (HDC)wParam, &rect, hbrush); 733 #else 734 //SvL: Ignore class background brush 735 FillRect((HDC)wParam, &rect, GetSysColorBrush(COLOR_BTNFACE)); 736 #endif 731 737 } 732 738
Note:
See TracChangeset
for help on using the changeset viewer.