[AD] textprintf_right bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


textprintf_right is just like textprintf_centre. To fix, change
line 276 in text.c from

textout_centre(bmp, f, buf, x, y, color);

to

textout(bmp, f, buf, x - text_length(f, buf), y, color);



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/