diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-10-29 07:51:45 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-10-29 07:51:45 +0000 |
commit | 68f3ad34546485f688b964affe80831201281c06 (patch) | |
tree | 5dc0cc5a390a971ff5be48b7969134a7f6936c56 /apps/plugins/sudoku | |
parent | 9ae256186282db0ed0e5491c925f92e61591f396 (diff) |
state->savedboard doesn't exist, so revert that part of r18906 for now. It might be necessary to redo this fix properly. Also, state->currentboard is an array of shorts, so the memcpy() only covered half of it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index 5c916f570d..db375d4588 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c @@ -601,9 +601,6 @@ void default_state(struct sudoku_state_t* state) /* initialize the saved board so reload function works */ rb->memcpy(state->savedboard,state->currentboard,81); -#ifdef SUDOKU_BUTTON_POSSIBLE - rb->memcpy(state->savedpossible,state->possiblevals,81); -#endif state->x=0; state->y=0; @@ -1111,9 +1108,6 @@ bool sudoku_generate(struct sudoku_state_t* state) } /* initialize the saved board so reload function works */ rb->memcpy(state->savedboard,state->currentboard,81); -#ifdef SUDOKU_BUTTON_POSSIBLE - rb->memcpy(state->savedpossible,state->possiblevals,81); -#endif return res; } |