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:
angelo 1997-07-01 14:26:46 +00:00
parent 56a04ed302
commit 295fa15682

View File

@ -2237,7 +2237,7 @@ BOOLEAN XVT_CALLCONV1 calc_font_callback(long data)
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);
if (w <= ph)
if (w <= pw)
break;
}