summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/pearl.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-01-01 14:57:30 -0500
committerFranklin Wei <git@fwei.tk>2017-01-01 15:00:09 -0500
commit6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0 (patch)
treea5bb5bc9ec91b2fd8630c082f362952393f71bdb /apps/plugins/puzzles/pearl.c
parent985f6e6935357b13a43b6c30f0f1e99786b185b0 (diff)
downloadrockbox-6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0.tar.gz
rockbox-6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0.zip
Fixes and re-sync for puzzles
- Updates to latest upstream (7cae89fb4b22c305b3fd98b4e1be065ad527a9f7). - Also fixes a bug relating to updating parts of the display. - Adds some docs. Change-Id: Idfcce66e0cf3c59e467bab42eafc161df2e495bb
Diffstat (limited to 'apps/plugins/puzzles/pearl.c')
-rw-r--r--apps/plugins/puzzles/pearl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/pearl.c b/apps/plugins/puzzles/pearl.c
index 59effeda40..1f41f65af2 100644
--- a/apps/plugins/puzzles/pearl.c
+++ b/apps/plugins/puzzles/pearl.c
@@ -1610,8 +1610,6 @@ static void check_completion(game_state *state, int mark)
1610 */ 1610 */
1611 for (i = 0; i < w*h; i++) { 1611 for (i = 0; i < w*h; i++) {
1612 int comp = dsf_canonify(dsf, i); 1612 int comp = dsf_canonify(dsf, i);
1613 if (component_state[comp] == COMP_PATH)
1614 comp = -1; /* part of the 'all paths' quasi-component */
1615 if ((component_state[comp] == COMP_PATH && 1613 if ((component_state[comp] == COMP_PATH &&
1616 -1 != largest_comp) || 1614 -1 != largest_comp) ||
1617 (component_state[comp] == COMP_LOOP && 1615 (component_state[comp] == COMP_LOOP &&