DroidFish: Handle non-breaking space in pgn import.

This commit is contained in:
Peter Osterlund 2015-06-02 00:18:27 +02:00
parent 1435cb0ce2
commit 55747bd63a

View File

@ -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;