# HG changeset patch # User alex # Date 1038241770 0 # Node ID db673d118d3fc78ff44d364d714bc3fe6162e24e # Parent f9c18cda60b2e890bf15884f7ce6150061c6c10b some extra debugging diff -r f9c18cda60b2 -r db673d118d3f loader/module.c --- a/loader/module.c Mon Nov 25 16:22:58 2002 +0000 +++ b/loader/module.c Mon Nov 25 16:29:30 2002 +0000 @@ -55,7 +55,7 @@ WINE_MODREF* MODULE_FindModule(LPCSTR m) { modref_list* list=local_wm; - TRACE("Module %s request\n", m); + TRACE("FindModule: Module %s request\n", m); if(list==NULL) return NULL; // while(strcmp(m, list->wm->filename)) @@ -104,16 +104,22 @@ WINE_MODREF *MODULE32_LookupHMODULE(HMODULE m) { modref_list* list=local_wm; - TRACE("Module %X request\n", m); + TRACE("LookupHMODULE: Module %X request\n", m); if(list==NULL) + { + TRACE("LookupHMODULE failed\n"); return NULL; + } while(m!=list->wm->module) { // printf("Checking list %X wm %X module %X\n", // list, list->wm, list->wm->module); list=list->prev; if(list==NULL) + { + TRACE("LookupHMODULE failed\n"); return NULL; + } } TRACE("LookupHMODULE hit %p\n", list->wm); return list->wm;