Ignore:
Timestamp:
Nov 14, 2001, 7:39:52 PM (24 years ago)
Author:
sandervl
Message:

removed unnecessary changes

File:
1 edited

Legend:

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

    r7334 r7342  
    1 /* $Id: module.cpp,v 1.4 2001-11-14 12:30:38 phaller Exp $
     1/* $Id: module.cpp,v 1.5 2001-11-14 18:38:49 sandervl Exp $
    22 *
    33 * GetBinaryTypeA/W (Wine Port)
     
    262262{
    263263    BOOL ret = FALSE;
     264    LPSTR strNew = NULL;
    264265
    265266    dprintf(("KERNEL32: GetBinaryTypeW %x %x", lpApplicationName, lpBinaryType));
     
    275276    /* Convert the wide string to a ascii string.
    276277     */
    277 #ifdef __WIN32OS2__
    278   LPSTR strNew;
    279   STACK_strdupWtoA(lpApplicationName, strNew)
    280 #else
    281   LPSTR strNew = HEAP_strdupWtoA( GetProcessHeap(), 0, lpApplicationName );
    282 #endif
     278    strNew = HEAP_strdupWtoA( GetProcessHeap(), 0, lpApplicationName );
    283279
    284280    if ( strNew != NULL )
     
    288284        /* Free the allocated string.
    289285         */
    290 #ifndef __WIN32OS2__
    291       HeapFree( GetProcessHeap(), 0, strNew );
    292 #endif
     286        HeapFree( GetProcessHeap(), 0, strNew );
    293287    }
    294288
Note: See TracChangeset for help on using the changeset viewer.