Goban plugin: Fixes a display issue with comments containing '\r' by Joshua Simmons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20001 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
63404a7d5d
commit
8c2dc67fed
1 changed files with 2 additions and 1 deletions
|
@ -788,7 +788,8 @@ redo_node_sgf_succeeded:
|
|||
/* newlines display badly in rb->splash, so replace them
|
||||
* with spaces
|
||||
*/
|
||||
if (comment_buffer[i] == '\n')
|
||||
if (comment_buffer[i] == '\n' ||
|
||||
comment_buffer[i] == '\r')
|
||||
{
|
||||
comment_buffer[i] = ' ';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue