Ignore:
Timestamp:
Nov 5, 1999, 6:50:30 PM (26 years ago)
Author:
achimha
Message:

source code cleanup, fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/windlg.cpp

    r1526 r1622  
    1 /* $Id: windlg.cpp,v 1.10 1999-10-31 01:14:44 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.11 1999-11-05 17:50:30 achimha Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    463463                  item, (LPARAM)buffer );
    464464
    465     if ((ret = (buffer[0] == '[')))  /* drive or directory */
     465    if ((ret = (buffer[0] == '[')) != 0)  /* drive or directory */
    466466    {
    467467        if (buffer[1] == '-')  /* drive */
     
    517517        char *p, *p2;
    518518        p = spec;
    519         if ((p2 = strrchr( p, '\\' ))) p = p2;
    520         if ((p2 = strrchr( p, '/' ))) p = p2;
     519        if ((p2 = strrchr( p, '\\' )) != 0) p = p2;
     520        if ((p2 = strrchr( p, '/' )) != 0) p = p2;
    521521        if (p != spec)
    522522        {
     
    573573        /* Update the original file spec */
    574574        char *p = spec;
    575         while ((*orig_spec++ = *p++));
     575        while ((*orig_spec++ = *p++) != 0);
    576576    }
    577577
Note: See TracChangeset for help on using the changeset viewer.