--- np2/win9x/fontmng.cpp 2005/02/11 21:17:23 1.4 +++ np2/win9x/fontmng.cpp 2005/02/13 05:31:26 1.5 @@ -163,16 +163,16 @@ static void fontmng_getchar(FNTMNG fhdl, BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt) { + int width; OEMCHAR buf[4]; _FNTDAT fdat; - int width; int leng; - width = 0; if ((hdl == NULL) || (string == NULL)) { goto fmgs_exit; } + width = 0; while(1) { leng = milstr_charsize(string); if (!leng) {