|
|
| version 1.14, 2003/11/04 19:23:03 | version 1.15, 2003/11/11 14:50:52 |
|---|---|
| Line 180 static void calctextsize(char *path, int | Line 180 static void calctextsize(char *path, int |
| file_cutname(path); | file_cutname(path); |
| file_cutseparator(path); | file_cutseparator(path); |
| file_cutname(path); | file_cutname(path); |
| file_cutseparator(path); | |
| l = strlen(path); | l = strlen(path); |
| if (l > 1) { | work[0] = '\0'; |
| l -= 1; | if (l) { |
| if (milstr_kanji2nd(p, l - 1)) { | milstr_ncpy(work, str_browse, sizeof(work)); |
| l--; | |
| } | |
| } | |
| else { | |
| l = 0; | |
| } | } |
| milstr_ncpy(work, str_browse, sizeof(work)); | |
| milstr_ncat(work, p + l, sizeof(work)); | milstr_ncat(work, p + l, sizeof(work)); |
| GetTextExtentPoint32(hdc, work, strlen(work), &tail); | GetTextExtentPoint32(hdc, work, strlen(work), &tail); |
| pos = 0; | pos = 0; |