1
0
Fork 0
forked from len0rd/rockbox

Make the load function handle some variations to the "standard" for .ss files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-10-04 21:30:37 +00:00
parent 4bf7373b88
commit 598be3af1b

View file

@ -708,9 +708,11 @@ bool load_sudoku(struct sudoku_state_t* state, char* filename) {
while ((i < n) && (r < 9)) {
switch (buf[i]){
case ' ': case '\t':
valid=1;
if (c > 0)
valid=1;
break;
case '|':
case '*':
case '-':
case '\r':
break;