ref: ca9fae207ca4505560ac9f0a3f25cd076179e5dc
parent: 852b2b9d01fa0f31dd004d5acc19035401faf6f3
author: Chris Moeller <kode54@gmail.com>
date: Fri Jun 7 16:24:38 EDT 2013
Fixed position status reset on callback-aborted loop
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -5814,6 +5814,11 @@
ret = process_tick(sigrenderer);
+ if (ret) {
+ sigrenderer->order = -1;
+ sigrenderer->row = -1;
+ }
+
#ifdef BIT_ARRAY_BULLSHIT
if (sigrenderer->looped == 1) {
sigrenderer->looped = -1;
@@ -5825,8 +5830,6 @@
#endif
if (ret) {
- sigrenderer->order = -1;
- sigrenderer->row = -1;
return pos;
}
}