Fix for 'Stamp text bug'.

This commit is contained in:
John Popplewell 2006-10-18 01:18:27 +00:00
parent 07d74727e4
commit abbae0e114

View file

@ -2963,11 +2963,11 @@ static void mainloop(void)
{ {
if (((unsigned char *) event.user.data1)[0] == '=') if (((unsigned char *) event.user.data1)[0] == '=')
{ {
draw_tux_text(TUX_GREAT, (char *) event.user.data1 + 1, 1); draw_tux_text_ex(TUX_GREAT, (char *) event.user.data1 + 1, 1, (int)event.user.data2);
} }
else else
{ {
draw_tux_text(TUX_GREAT, (char *) event.user.data1, 0); draw_tux_text_ex(TUX_GREAT, (char *) event.user.data1, 0, (int)event.user.data2);
} }
} }
else else