diff options
-rw-r--r-- | bfinter2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ static void p_run(const struct program p){ case IDEBUG: { int low=0,high=memsize-1; while(low<startidx&&mem[low]==0)low++; - while(high>startidx&&mem[high]==0)high++; + while(high>startidx&&mem[high]==0)high--; for(int i=low;i<=high;i++){ fprintf(stderr,"%3u ",(unsigned)mem[i]); } |