Changeset 1622 for trunk/src/user32/windlg.cpp
- Timestamp:
- Nov 5, 1999, 6:50:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r1526 r1622 1 /* $Id: windlg.cpp,v 1.1 0 1999-10-31 01:14:44 sandervlExp $ */1 /* $Id: windlg.cpp,v 1.11 1999-11-05 17:50:30 achimha Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 463 463 item, (LPARAM)buffer ); 464 464 465 if ((ret = (buffer[0] == '[')) ) /* drive or directory */465 if ((ret = (buffer[0] == '[')) != 0) /* drive or directory */ 466 466 { 467 467 if (buffer[1] == '-') /* drive */ … … 517 517 char *p, *p2; 518 518 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; 521 521 if (p != spec) 522 522 { … … 573 573 /* Update the original file spec */ 574 574 char *p = spec; 575 while ((*orig_spec++ = *p++) );575 while ((*orig_spec++ = *p++) != 0); 576 576 } 577 577
Note:
See TracChangeset
for help on using the changeset viewer.