Changeset 2860 for trunk/src


Ignore:
Timestamp:
Feb 22, 2000, 8:15:20 PM (26 years ago)
Author:
sandervl
Message:

window class ctor bugfix

Location:
trunk/src/user32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/dbglocal.cpp

    r2804 r2860  
    1 /* $Id: dbglocal.cpp,v 1.1 2000-02-16 14:34:09 sandervl Exp $ */
     1/* $Id: dbglocal.cpp,v 1.2 2000-02-22 19:15:20 sandervl Exp $ */
    22
    33/*
     
    1313#include <string.h>
    1414#include "dbglocal.h"
     15
     16#ifdef DEBUG
    1517
    1618USHORT DbgEnabled[DBG_MAXFILES];
     
    124126//******************************************************************************
    125127
     128#endif
  • trunk/src/user32/dbglocal.h

    r2804 r2860  
    1 /* $Id: dbglocal.h,v 1.1 2000-02-16 14:34:13 sandervl Exp $ */
     1/* $Id: dbglocal.h,v 1.2 2000-02-22 19:15:20 sandervl Exp $ */
    22
    33/*
     
    9999
    100100#define ParseLogStatus()
    101 #define DBG_LOCALLOG(a)
    102101
    103102#endif //DEBUG
  • trunk/src/user32/win32class.cpp

    r2803 r2860  
    1 /* $Id: win32class.cpp,v 1.14 2000-02-16 14:28:22 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.15 2000-02-22 19:15:20 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    6363                AsciiToUnicode(classNameA, classNameW);
    6464        }
    65     classAtom = 0;
    66     //SvL: If a system control has already be registered, use that atom instead
     65        classAtom = 0;
     66        //SvL: If a system control has already be registered, use that atom instead
    6767        //     of creating a new one
    68     if(wndclass->style & CS_GLOBALCLASS) {
    69         classAtom = GlobalFindAtomA(classNameA);
    70     }
    71     if(!classAtom) classAtom = GlobalAddAtomA(classNameA);
     68        if(wndclass->style & CS_GLOBALCLASS) {
     69                classAtom = GlobalFindAtomA(classNameA);
     70        }
     71        if(!classAtom) classAtom = GlobalAddAtomA(classNameA);
    7272  }
    7373  else {
     
    7777  }
    7878  if(!(wndclass->style & CS_GLOBALCLASS)) {
    79     processId = GetCurrentProcess();
     79        processId = GetCurrentProcess();
    8080  }
    8181  menuNameA = 0;
     
    114114
    115115  windowStyle           = wndclass->style;
     116
     117  windowProc = 0;
    116118  WINPROC_SetProc((HWINDOWPROC *)&windowProc, wndclass->lpfnWndProc, (isUnicode) ? WIN_PROC_32W : WIN_PROC_32A, WIN_PROC_CLASS);
    117119  dprintf2(("Window class ptr %x", windowProc));
Note: See TracChangeset for help on using the changeset viewer.