Ignore:
Timestamp:
Oct 9, 2000, 8:35:27 PM (25 years ago)
Author:
sandervl
Message:

TLS + resource lookup (name -1) fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimgres.cpp

    r4445 r4471  
    1 /* $Id: winimgres.cpp,v 1.48 2000-10-06 15:16:06 sandervl Exp $ */
     1/* $Id: winimgres.cpp,v 1.49 2000-10-09 18:35:27 sandervl Exp $ */
    22
    33/*
     
    343343    }
    344344
     345    if((ULONG)lpszName == -1) {//check for nonsense values
     346        return NULL;
     347    }
     348
    345349    /* lpszName */
    346350    if ((ULONG)lpszName != ID_GETFIRST && HIWORD(lpszName) != 0)
     
    414418
    415419    if(pResDirToSearch == NULL) {
     420        return NULL;
     421    }
     422
     423    if((ULONG)lpszName == -1) {//check for nonsense values
    416424        return NULL;
    417425    }
Note: See TracChangeset for help on using the changeset viewer.