mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Lets keep the '\n' in (see revision 1.53's commit message)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10299 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
af5393c7a6
commit
4735e8ed53
1 changed files with 5 additions and 5 deletions
|
@ -257,8 +257,8 @@ int load_kbd(unsigned char* filename)
|
|||
FOR_NB_SCREENS(l)
|
||||
utf8decode(buf, ¶m[l].kbd_buf[i]);
|
||||
|
||||
if (param[0].kbd_buf[i] != 0xFEFF && param[0].kbd_buf[i] != '\n' &&
|
||||
param[0].kbd_buf[i] != '\r') /*skip BOM & newlines */
|
||||
if (param[0].kbd_buf[i] != 0xFEFF &&
|
||||
param[0].kbd_buf[i] != '\r') /*skip BOM & carriage returns */
|
||||
i++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue