Ignore:
Timestamp:
Sep 15, 2001, 11:32:00 AM (24 years ago)
Author:
sandervl
Message:

restored old version + wine update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/initterm.cpp

    r6689 r6711  
    5959   {
    6060   case DLL_PROCESS_ATTACH:
    61     return TRUE;
     61        return TRUE;
    6262
    6363   case DLL_THREAD_ATTACH:
    6464   case DLL_THREAD_DETACH:
    65     return TRUE;
     65        return TRUE;
    6666
    6767   case DLL_PROCESS_DETACH:
    68     ctordtorTerm();
    69     ClosePrivateLogFiles();
    70     return TRUE;
     68        ctordtorTerm();
     69        ClosePrivateLogFiles();
     70        return TRUE;
    7171   }
    7272   return FALSE;
     
    9595      case 0 :
    9696      {
    97     loadNr = globLoadNr++;
     97        loadNr = globLoadNr++;
    9898
    99     DosQueryModuleName(hModule, sizeof(oleaut32Path), oleaut32Path);
    100     char *endofpath = strrchr(oleaut32Path, '\\');
    101     *(endofpath+1) = 0;
     99        DosQueryModuleName(hModule, sizeof(oleaut32Path), oleaut32Path);
     100        char *endofpath = strrchr(oleaut32Path, '\\');
     101        *(endofpath+1) = 0;
    102102
    103103         ctordtorInit();
     
    105105         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    106106
    107     dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
    108          if(dllHandle == 0)
    109         return 0UL;
     107        dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
     108         if(dllHandle == 0) 
     109                return 0UL;
    110110
    111111#ifdef DEFAULT_LOGGING_OFF
    112         if(getenv("WIN32LOG_ENABLED")) {
     112        if(getenv("WIN32LOG_ENABLED")) {
    113113#else
    114         if(!getenv("NOWIN32LOG")) {
     114        if(!getenv("NOWIN32LOG")) {
    115115#endif
    116             OpenPrivateLogFiles();
    117     }
     116                OpenPrivateLogFiles();
     117        }
    118118         Hash_Initialise();
    119119
     
    122122      case 1 :
    123123         if(dllHandle) {
    124         UnregisterLxDll(dllHandle);
     124                UnregisterLxDll(dllHandle);
    125125         }
    126126         break;
Note: See TracChangeset for help on using the changeset viewer.