Changeset 21356 for trunk/src/user32/windlg.cpp
- Timestamp:
- Feb 21, 2010, 5:33:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r10431 r21356 649 649 SendMessageA( listbox, combo ? CB_GETLBTEXT : LB_GETTEXT, item, (LPARAM)buffer ); 650 650 651 if ((ret = (buffer[0] == '[')) ) /* drive or directory */651 if ((ret = (buffer[0] == '[')) != FALSE) /* drive or directory */ 652 652 { 653 653 if (buffer[1] == '-') /* drive */ … … 701 701 char *p, *p2; 702 702 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; 705 705 if (p != spec) 706 706 { … … 756 756 /* Update the original file spec */ 757 757 char *p = spec; 758 while ((*orig_spec++ = *p++) );758 while ((*orig_spec++ = *p++) != 0); 759 759 } 760 760
Note:
See TracChangeset
for help on using the changeset viewer.