diff options
author | Franklin Wei <git@fwei.tk> | 2017-10-23 17:19:29 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-10-23 17:19:29 -0400 |
commit | ef1306764e6443d67612542654f252b376c5993e (patch) | |
tree | 5f064178c1f9a23695b1b52b8bd487434be9006e /apps/plugins/puzzles/src/maxflow.c | |
parent | 7a8c9daf7ef5a8b38d4c4f6625ff2d9d8eb1aa0a (diff) | |
download | rockbox-ef1306764e6443d67612542654f252b376c5993e.tar.gz rockbox-ef1306764e6443d67612542654f252b376c5993e.zip |
puzzles: resync with upstream
There have been some improvements with regard to small screen sizes,
which will be nice to have.
Change-Id: I30c740514156258d2818fde325c1a751500f7611
Diffstat (limited to 'apps/plugins/puzzles/src/maxflow.c')
-rw-r--r-- | apps/plugins/puzzles/src/maxflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/maxflow.c b/apps/plugins/puzzles/src/maxflow.c index 028946b9bd..97ae8c487d 100644 --- a/apps/plugins/puzzles/src/maxflow.c +++ b/apps/plugins/puzzles/src/maxflow.c | |||
@@ -80,7 +80,7 @@ int maxflow_with_scratch(void *scratch, int nv, int source, int sink, | |||
80 | /* | 80 | /* |
81 | * Now do the BFS loop. | 81 | * Now do the BFS loop. |
82 | */ | 82 | */ |
83 | while (head < tail && prev[sink] <= 0) { | 83 | while (head < tail && prev[sink] < 0) { |
84 | from = todo[head++]; | 84 | from = todo[head++]; |
85 | 85 | ||
86 | /* | 86 | /* |