|
Rockbox mail archiveSubject: Re: bug in keyboard, after music played, bugfixRe: bug in keyboard, after music played, bugfix
From: Alexander Eickhoff <alex_at_linux01.org>
Date: Tue, 18 Mar 2003 00:04:35 +0100 Am Samstag, 15. März 2003 14:53 schrieb Björn Stenberg: > ----- Forwarded message from Alexander Eickhoff <alex_at_linux01.org> ----- > > Date: Sat, 15 Mar 2003 11:20:32 +0100 > From: Alexander Eickhoff <alex_at_linux01.org> > To: Björn Stenberg <bjorn_at_haxx.se> > Subject: bug in keyboard, after music played > > hy björn, > the keyboard function makes trouble . > the string outline is to long, so ">" is overwritten. and strlen is 23 !?! > normal with my fonts (max_chars - 2 )= 16 > > before i play music strlen is every time 16 and all is ok... > now i play music... > len = 20. > > I am at my wit's end > > - alex hy rockboxer, man strncpy ;-) - alex Index: recorder/keyboard.c =================================================================== RCS file: /cvsroot/rockbox/apps/recorder/keyboard.c,v retrieving revision 1.5 diff -u -r1.5 keyboard.c --- recorder/keyboard.c 10 Mar 2003 15:09:27 -0000 1.5 +++ recorder/keyboard.c 17 Mar 2003 23:02:34 -0000 _at__at_ -157,7 +157,7 _at__at_ lcd_putsxy(0, main_y, "<"); } } - + outline[max_chars - 2] = '\0'; lcd_putsxy(font_w,main_y,outline); /* cursor */ Received on 2003-03-18 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |