Changeset 3720 for trunk/src


Ignore:
Timestamp:
Jun 17, 2000, 11:03:37 AM (25 years ago)
Author:
sandervl
Message:

resource lookup bugfix

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagebase.h

    r3678 r3720  
    1 /* $Id: winimagebase.h,v 1.11 2000-06-08 18:08:57 sandervl Exp $ */
     1/* $Id: winimagebase.h,v 1.12 2000-06-17 09:03:36 sandervl Exp $ */
    22
    33/*
     
    2323
    2424#define LANG_GETFIRST           0x80000000
    25 #define ID_GETFIRST             LANG_GETFIRST
    2625#define IDLANG_GETFIRST         LANG_GETFIRST
    2726
  • trunk/src/kernel32/winimgres.cpp

    r3718 r3720  
    1 /* $Id: winimgres.cpp,v 1.39 2000-06-16 21:23:40 sandervl Exp $ */
     1/* $Id: winimgres.cpp,v 1.40 2000-06-17 09:03:37 sandervl Exp $ */
    22
    33/*
     
    6565    return NULL;
    6666
    67   if(HIWORD(id)) {
     67  if(HIWORD(id) && id != IDLANG_GETFIRST) {
    6868        char *lpszName = (char *)id;
    6969        //"#102" really means numeric id 102
     
    448448        return FALSE;
    449449    }
    450     pData = getPEResourceEntry(ID_GETFIRST, NTRT_VERSION, IDLANG_GETFIRST, &error);
     450    pData = getPEResourceEntry(IDLANG_GETFIRST, NTRT_VERSION, IDLANG_GETFIRST, &error);
    451451    if(pData == NULL) {
    452452        dprintf(("Win32PeLdrImage::getVersionStruct: couldn't find version resource!"));
Note: See TracChangeset for help on using the changeset viewer.