mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 19:34:08 +01:00
DroidFish: Handle non-breaking space in pgn import.
This commit is contained in:
parent
1435cb0ce2
commit
55747bd63a
|
@ -380,7 +380,7 @@ public class GameTree {
|
|||
try {
|
||||
while (true) {
|
||||
char c = data.charAt(idx++);
|
||||
if (Character.isWhitespace(c)) {
|
||||
if (Character.isWhitespace(c) || c == '\u00a0') {
|
||||
// Skip
|
||||
} else if (c == '.') {
|
||||
ret.type = PgnToken.PERIOD;
|
||||
|
|
Loading…
Reference in New Issue
Block a user