Ignore:
Timestamp:
Feb 21, 2010, 5:33:53 PM (16 years ago)
Author:
rlwalsh
Message:

eliminate VACPP warning & info msgs - see Ticket #1

File:
1 edited

Legend:

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

    r10431 r21356  
    649649    SendMessageA( listbox, combo ? CB_GETLBTEXT : LB_GETTEXT, item, (LPARAM)buffer );
    650650
    651     if ((ret = (buffer[0] == '[')))  /* drive or directory */
     651    if ((ret = (buffer[0] == '[')) != FALSE)  /* drive or directory */
    652652    {
    653653        if (buffer[1] == '-')  /* drive */
     
    701701        char *p, *p2;
    702702        p = spec;
    703         if ((p2 = strrchr( p, '\\' ))) p = p2;
    704         if ((p2 = strrchr( p, '/' ))) p = p2;
     703        if ((p2 = strrchr( p, '\\' )) != NULL) p = p2;
     704        if ((p2 = strrchr( p, '/' )) != NULL) p = p2;
    705705        if (p != spec)
    706706        {
     
    756756        /* Update the original file spec */
    757757        char *p = spec;
    758         while ((*orig_spec++ = *p++));
     758        while ((*orig_spec++ = *p++) != 0);
    759759    }
    760760
Note: See TracChangeset for help on using the changeset viewer.