|
|
| version 1.1, 2004/08/01 05:31:32 | version 1.2, 2004/08/09 02:47:02 |
|---|---|
| Line 77 BRESULT dlgs_selectwritenum(HWND hWnd, c | Line 77 BRESULT dlgs_selectwritenum(HWND hWnd, c |
| p = file_getname(path); | p = file_getname(path); |
| milstr_ncpy(file, path, size); | milstr_ncpy(file, path, size); |
| file_cutname(file); | file_cutname(file); |
| q = file + STRLEN(file); | q = file + OEMSTRLEN(file); |
| for (i=0; i<10000; i++) { | for (i=0; i<10000; i++) { |
| SPRINTF(q, p, i); | OEMSPRINTF(q, p, i); |
| if (file_attr(file) == (short)-1) { | if (file_attr(file) == (short)-1) { |
| break; | break; |
| } | } |
| Line 116 void dlgs_setlistuint32(HWND hWnd, WORD | Line 116 void dlgs_setlistuint32(HWND hWnd, WORD |
| wnd = GetDlgItem(hWnd, res); | wnd = GetDlgItem(hWnd, res); |
| for (i=0; i<items; i++) { | for (i=0; i<items; i++) { |
| SPRINTF(str, str_u, item[i]); | OEMSPRINTF(str, str_u, item[i]); |
| SendMessage(wnd, CB_INSERTSTRING, (WPARAM)i, (LPARAM)str); | SendMessage(wnd, CB_INSERTSTRING, (WPARAM)i, (LPARAM)str); |
| } | } |
| } | } |