Ignore:
Timestamp:
Oct 27, 1999, 12:35:42 PM (26 years ago)
Author:
sandervl
Message:

Color cursor changes + dll loading fixes

File:
1 edited

Legend:

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

    r978 r1475  
    1 /* $Id: winimagebase.cpp,v 1.2 1999-09-18 17:47:10 sandervl Exp $ */
     1/* $Id: winimagebase.cpp,v 1.3 1999-10-27 10:35:42 sandervl Exp $ */
    22
    33/*
     
    117117  dllfile = OSLibDosOpen(filename, OSLIB_ACCESS_READONLY|OSLIB_ACCESS_SHAREDENYNONE);
    118118  if(dllfile == NULL) {//search in libpath for dll
    119         syspath = getenv("WIN32LIBPATH");
    120         if(syspath) {
    121                 strcpy(modname, syspath);
    122                 if(modname[strlen(modname)-1] != '\\') {
    123                         strcat(modname, "\\");
    124                 }
    125                 strcat(modname, filename);
    126                 strcpy(filename, modname);
    127         }
     119        strcpy(modname, kernel32Path);
     120        strcat(modname, filename);
     121        strcpy(filename, modname);
    128122  }
    129123  else  OSLibDosClose(dllfile);
Note: See TracChangeset for help on using the changeset viewer.