| version 1.1, 2004/08/01 05:31:32 | version 1.2, 2004/08/03 12:50:54 | 
| Line 22  const OEMCHAR *filter; | Line 22  const OEMCHAR *filter; | 
 | (((a) + (b)) / 2) | (((a) + (b)) / 2) | 
 |  |  | 
 | #define SETLISTSTR(a, b, c)                     \ | #define SETLISTSTR(a, b, c)                     \ | 
| dlgs_setliststr((a), (b), (c), sizeof((c))/sizeof(char *)) | dlgs_setliststr((a), (b), (c), NELEMENTS((c))) | 
 |  |  | 
 | #define SETnLISTSTR(a, b, c, d)         \ | #define SETnLISTSTR(a, b, c, d)         \ | 
 | dlgs_setliststr((a), (b), (c), (d)) | dlgs_setliststr((a), (b), (c), (d)) | 
 |  |  | 
 | #define SETLISTUINT32(a, b, c)          \ | #define SETLISTUINT32(a, b, c)          \ | 
| dlgs_setlistuint32((a), (b), (c), sizeof((c))/sizeof(UINT32)) | dlgs_setlistuint32((a), (b), (c), NELEMENTS((c))) | 
 |  |  | 
 |  |  | 
 | BRESULT dlgs_selectfile(HWND hWnd, const FILESEL *item, | BRESULT dlgs_selectfile(HWND hWnd, const FILESEL *item, |