Ignore:
Timestamp:
Mar 9, 2000, 8:05:39 PM (25 years ago)
Author:
sandervl
Message:

dialog ctor bugfix

File:
1 edited

Legend:

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

    r2881 r3060  
    1 /* $Id: win32dlg.cpp,v 1.46 2000-02-24 19:19:08 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.47 2000-03-09 19:05:39 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    168168        }
    169169        else    cs.lpszName  = 0;
    170         if(HIWORD(cs.lpszClass)) {
     170        if(dlgInfo.className) {
    171171                cs.lpszClass = UnicodeToAsciiString((LPWSTR)dlgInfo.className);
    172172        }
    173         else    cs.lpszClass = dlgInfo.className;
     173        else    cs.lpszClass = 0;
    174174    }
    175175    else {
Note: See TracChangeset for help on using the changeset viewer.