Changeset 1926


Ignore:
Timestamp:
Dec 1, 1999, 7:43:08 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r1919 r1926  
    1  /* $Id: changelog,v 1.492 1999-12-01 10:53:40 sandervl Exp $ */
     1 /* $Id: changelog,v 1.493 1999-12-01 18:39:15 sandervl Exp $ */
    22
    33 99-12-01: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     
    1010                   from trashing FS. (happens when called from a thread (
    1111                   that is not the main thread))
     12                   Also wrappers for new/delete calls. (for the same reason)
    1213        - KERNEL32: Increase max nr of open files when DosOpen fails with ERROR_TOO_MANY_OPEN_FILES
    1314                    (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
    1418        - ADVAPI32: Fix for RegQueryInfoKeyW (return size = 0)
    1519
  • trunk/src/NTDLL/ntdll.def

    r1918 r1926  
    1 ; $Id: ntdll.def,v 1.27 1999-12-01 10:52:13 sandervl Exp $
     1; $Id: ntdll.def,v 1.28 1999-12-01 18:39:49 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    2121    _allmul                          = _OS2_allmul
    2222
    23     RtlLargeIntegerToChar            = _RtlLargeIntegerToChar@12     @425
     23    RtlLargeIntegerToChar            = _RtlLargeIntegerToChar@16     @425
    2424
    2525; real functions
  • trunk/src/user32/win32wbase.cpp

    r1922 r1926  
    1 /* $Id: win32wbase.cpp,v 1.100 1999-12-01 18:23:29 cbratschi Exp $ */
     1/* $Id: win32wbase.cpp,v 1.101 1999-12-01 18:43:08 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    520520    if (!isUnicode)
    521521    {
    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;
    534539    }
    535540  }
     
    23512356       if (isChild())
    23522357       {
    2353                 Win32BaseWindow *windowParent = getParent();
    2354                 if(windowParent) {
    2355                         hParent = getParent()->getOS2WindowHandle();
    2356                 }
    2357                 else    dprintf(("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()));
    23582363       }
    23592364       OSLibWinQueryWindowPos(OS2HwndFrame, &swpOld);
Note: See TracChangeset for help on using the changeset viewer.