|
|
| version 1.13, 2003/11/04 15:44:59 | 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; |
| Line 618 const char *p; | Line 613 const char *p; |
| sysmng_update(SYS_UPDATEOSCFG); | sysmng_update(SYS_UPDATEOSCFG); |
| wlex = np2_winlocexallwin(hWndMain); | wlex = np2_winlocexallwin(hWndMain); |
| winlocex_setholdwnd(wlex, hWnd); | |
| toolwindestroy(); | toolwindestroy(); |
| hbmp = skinload(np2tool.skin); | hbmp = skinload(np2tool.skin); |
| if (hbmp == NULL) { | if (hbmp == NULL) { |
| Line 862 static LRESULT CALLBACK twproc(HWND hWnd | Line 858 static LRESULT CALLBACK twproc(HWND hWnd |
| case WM_LBUTTONDBLCLK: | case WM_LBUTTONDBLCLK: |
| np2tool.type ^= 1; | np2tool.type ^= 1; |
| wlex = np2_winlocexallwin(hWndMain); | wlex = np2_winlocexallwin(hWndMain); |
| winlocex_setholdwnd(wlex, hWnd); | |
| np2class_windowtype(hWnd, (np2tool.type & 1) << 1); | np2class_windowtype(hWnd, (np2tool.type & 1) << 1); |
| winlocex_move(wlex); | winlocex_move(wlex); |
| winlocex_destroy(wlex); | winlocex_destroy(wlex); |