Ignore:
Timestamp:
Oct 8, 1999, 6:28:21 PM (26 years ago)
Author:
sandervl
Message:

GetClassInfoA bugfix

File:
1 edited

Legend:

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

    r949 r1193  
    1 /* $Id: windowclass.cpp,v 1.1 1999-09-15 23:19:02 sandervl Exp $ */
     1/* $Id: windowclass.cpp,v 1.2 1999-10-08 16:28:21 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Code for OS/2
     
    4242 Win32WndClass *wclass;
    4343
     44    dprintf(("RegisterClassA\n"));
    4445   //CB: size new in ex structure
    4546   wc.cbSize = sizeof(wc);
     
    6061 Win32WndClass *wclass;
    6162
     63   dprintf(("RegisterClassExA\n"));
    6264   wclass = new Win32WndClass((WNDCLASSEXA *)lpWndClass,FALSE);
    6365   if(wclass == NULL) {
     
    151153  if(wndclass) {
    152154        wndclass->getClassInfo(&wc);
    153         memcpy(lpwc, &wc, sizeof(WNDCLASSA));
     155        memcpy(lpwc, &wc.style, sizeof(WNDCLASSA));
    154156        return(TRUE);
    155157  }
Note: See TracChangeset for help on using the changeset viewer.