New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=d00dbd4512f9caf29e0768cc33e0e10a66adb2ce
commit d00dbd4512f9caf29e0768cc33e0e10a66adb2ce
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Tue Jul 8 12:52:38 2008 +0200
[IDirectFBFont] Bug fixes in GetStringBreak(), thanks to Keith Mok!
1.) The ret_next_line is not initialized, so if the initial string is too
long without delimiter, "if (*ret_next_line == NULL)" will not run.
2.) If the initial string is too long without delimiter, the return string
should be minus one character since the width had already longer than the input
width.
Should keep the width within input width unless only one character.
3.) The return length should not minus one when whole string is within
input width, otherwise one character is cropped.
README | 1 +
src/media/idirectfbfont.c | 15 +++++++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs