Ticket #206: qlibrary_os2.diff
File qlibrary_os2.diff, 544 bytes (added by , 13 years ago) |
---|
-
qlibrary_os2.cpp
102 102 APIRET rc; 103 103 char errModule[CCHMAXPATH] = { '\0' }; 104 104 rc = DosLoadModule(errModule, sizeof(errModule), attempt, &pHnd); 105 if (rc == ERROR_FILE_NOT_FOUND ) {105 if (rc == ERROR_FILE_NOT_FOUND && stricmp(attempt, errModule) == 0) { 106 106 attempt += ".DLL"; 107 107 rc = DosLoadModule(errModule, sizeof(errModule), attempt, &pHnd); 108 108 }