Changeset 1926
- Timestamp:
- Dec 1, 1999, 7:43:08 PM (26 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
changelog (modified) (2 diffs)
-
src/NTDLL/ntdll.def (modified) (2 diffs)
-
src/user32/win32wbase.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r1919 r1926 1 /* $Id: changelog,v 1.49 2 1999-12-01 10:53:40sandervl Exp $ */1 /* $Id: changelog,v 1.493 1999-12-01 18:39:15 sandervl Exp $ */ 2 2 3 3 99-12-01: Edgar Buerkle <Edgar.Buerkle@gmx.net> … … 10 10 from trashing FS. (happens when called from a thread ( 11 11 that is not the main thread)) 12 Also wrappers for new/delete calls. (for the same reason) 12 13 - KERNEL32: Increase max nr of open files when DosOpen fails with ERROR_TOO_MANY_OPEN_FILES 13 14 (OSLibDosOpen) 15 Don't translate strings if api fails (FindFirstFileW/FindNextFileW) 16 GetProcessTimes (TODO: Doesn't use RtlExtendedIntegerMultiply correctly!) 17 Translate only upto min(strlen of unicode string,n) in UnicodeToAsciiN 14 18 - ADVAPI32: Fix for RegQueryInfoKeyW (return size = 0) 15 19 -
trunk/src/NTDLL/ntdll.def
r1918 r1926 1 ; $Id: ntdll.def,v 1.2 7 1999-12-01 10:52:13sandervl Exp $1 ; $Id: ntdll.def,v 1.28 1999-12-01 18:39:49 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 21 21 _allmul = _OS2_allmul 22 22 23 RtlLargeIntegerToChar = _RtlLargeIntegerToChar@1 2@42523 RtlLargeIntegerToChar = _RtlLargeIntegerToChar@16 @425 24 24 25 25 ; real functions -
trunk/src/user32/win32wbase.cpp
r1922 r1926 1 /* $Id: win32wbase.cpp,v 1.10 0 1999-12-01 18:23:29 cbratschiExp $ */1 /* $Id: win32wbase.cpp,v 1.101 1999-12-01 18:43:08 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 520 520 if (!isUnicode) 521 521 { 522 wndNameLength = strlen(cs->lpszName); 523 windowNameA = (LPSTR)_smalloc(wndNameLength+1); 524 strcpy(windowNameA,cs->lpszName); 525 windowNameW = (LPWSTR)_smalloc((wndNameLength+1)*sizeof(WCHAR)); 526 lstrcpyAtoW(windowNameW,windowNameA); 527 } else 528 { 529 wndNameLength = lstrlenW((LPWSTR)cs->lpszName); 530 windowNameA = (LPSTR)_smalloc(wndNameLength+1); 531 lstrcpyWtoA(windowNameA,(LPWSTR)cs->lpszName); 532 windowNameW = (LPWSTR)_smalloc((wndNameLength+1)*sizeof(WCHAR)); 533 lstrcpyW(windowNameW,(LPWSTR)cs->lpszName); 522 wndNameLength = strlen(cs->lpszName); 523 windowNameA = (LPSTR)_smalloc(wndNameLength+1); 524 strcpy(windowNameA,cs->lpszName); 525 windowNameW = (LPWSTR)_smalloc((wndNameLength+1)*sizeof(WCHAR)); 526 lstrcpyAtoW(windowNameW,windowNameA); 527 windowNameA[wndNameLength] = 0; 528 windowNameW[wndNameLength] = 0; 529 } 530 else 531 { 532 wndNameLength = lstrlenW((LPWSTR)cs->lpszName); 533 windowNameA = (LPSTR)_smalloc(wndNameLength+1); 534 lstrcpyWtoA(windowNameA,(LPWSTR)cs->lpszName); 535 windowNameW = (LPWSTR)_smalloc((wndNameLength+1)*sizeof(WCHAR)); 536 lstrcpyW(windowNameW,(LPWSTR)cs->lpszName); 537 windowNameA[wndNameLength] = 0; 538 windowNameW[wndNameLength] = 0; 534 539 } 535 540 } … … 2351 2356 if (isChild()) 2352 2357 { 2353 Win32BaseWindow *windowParent = getParent();2354 if(windowParent) {2355 hParent = getParent()->getOS2WindowHandle();2356 }2357 elsedprintf(("WARNING: Win32BaseWindow::SetWindowPos window %x is child but has no parent!!", getWindowHandle()));2358 Win32BaseWindow *windowParent = getParent(); 2359 if(windowParent) { 2360 hParent = getParent()->getOS2WindowHandle(); 2361 } 2362 else dprintf(("WARNING: Win32BaseWindow::SetWindowPos window %x is child but has no parent!!", getWindowHandle())); 2358 2363 } 2359 2364 OSLibWinQueryWindowPos(OS2HwndFrame, &swpOld);
Note:
See TracChangeset
for help on using the changeset viewer.
