Ignore:
Timestamp:
Feb 10, 2001, 11:31:31 AM (25 years ago)
Author:
sandervl
Message:

heap corruption bugfix

File:
1 edited

Legend:

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

    r5056 r5083  
    1 /* $Id: win32class.cpp,v 1.20 2001-02-02 19:04:02 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.21 2001-02-10 10:31:31 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    363363                AsciiToUnicode(menuNameA, menuNameW);
    364364        }
     365
    365366  }
    366367  else {//id
     
    482483                        break;
    483484                }
    484                 SetLastError(ERROR_INVALID_PARAMETER);
     485                SetLastError(ERROR_INVALID_INDEX);  //verified in NT4, SP6
    485486                if(classNameA) {
    486487                      dprintf2(("WARNING: Win32WndClass::setClassLongA %s: %d %x -> wrong INDEX", classNameA, index, lNewVal));
Note: See TracChangeset for help on using the changeset viewer.