(svn r16599) -Fix [FS#2987] (r16584): reset the 'current' font size after drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX.

This commit is contained in:
rubidium 2009-06-19 12:08:44 +00:00
parent 0961668e14
commit 6a3a304283
1 changed files with 2 additions and 0 deletions

View File

@ -556,6 +556,8 @@ static int DrawString(int left, int right, int top, char *str, const char *last,
}
}
_cur_fontsize = FS_NORMAL;
return align == SA_RIGHT ? min_left : max_right;
}