Correzione errore sul ricalcolo del font.
git-svn-id: svn://10.65.10.50/trunk@4789 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
56a04ed302
commit
295fa15682
@ -2237,7 +2237,7 @@ BOOLEAN XVT_CALLCONV1 calc_font_callback(long data)
|
|||||||
xvt_set_font(win, fd._name, XVT_FS_NONE, size);
|
xvt_set_font(win, fd._name, XVT_FS_NONE, size);
|
||||||
|
|
||||||
const int w = xvt_dwin_get_text_width(win, (char*)(const char*)test, fd._columns);
|
const int w = xvt_dwin_get_text_width(win, (char*)(const char*)test, fd._columns);
|
||||||
if (w <= ph)
|
if (w <= pw)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user