diff --git a/src/demo/maxcolor.c b/src/demo/maxcolor.c index 06702b5a1..6e6e496aa 100644 --- a/src/demo/maxcolor.c +++ b/src/demo/maxcolor.c @@ -55,7 +55,7 @@ slideitslideit(struct notcurses* nc, struct ncplane* n, uint64_t deadline, }else if(xoff == dimx - nx){ --xoff; if(*direction == 1){ - *direction = 2; + *direction = 0; }else if(*direction == 2){ *direction = 3; }