Changeset 360 for trunk/hlpmgr/utility.c


Ignore:
Timestamp:
Jun 18, 2009, 8:55:46 PM (16 years ago)
Author:
RBRi
Message:

warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hlpmgr/utility.c

    r26 r360  
    1 #include <stdlib.h> 
     1#include <stdlib.h>
    22#include <string.h>
    33
     
    88{
    99  ULONG buffer;
    10   DosQuerySysInfo( QSV_BOOT_DRIVE, 
     10  DosQuerySysInfo( QSV_BOOT_DRIVE,
    1111                   QSV_BOOT_DRIVE,
    1212                   & buffer,
     
    4040  while( TRUE )
    4141  {
    42     parent = WinQueryWindow( hwnd, QW_PARENT );   
     42    parent = WinQueryWindow( hwnd, QW_PARENT );
    4343    if (    parent == hDesktopWindow
    4444         || parent == NULLHANDLE )
    4545      // this is a frame (top level) window
    4646      break;
    47     hwnd = parent; 
     47    hwnd = parent;
    4848  }
    4949
     
    6161  LogEvent( "IsStandardWindowClass" );
    6262
    63   if ( WinQueryClassName( hwnd, 
     63  if ( WinQueryClassName( hwnd,
    6464                          sizeof( szClassName ),
    6565                          szClassName ) == 0 )
     
    8787                  char* source )
    8888{
    89   if ( *dest != NULL ) 
     89  if ( *dest != NULL )
    9090  {
    9191    free( *dest );
    9292    *dest = NULL;
    9393  }
    94  
    95   if ( source == NULL ) 
     94
     95  if ( source == NULL )
    9696    return;
    9797
     
    9999  strcpy( *dest, source );
    100100}
    101 
     101
Note: See TracChangeset for help on using the changeset viewer.