diff --git a/src/demo/xray.c b/src/demo/xray.c index 9fbf2e7d1..aa27bef29 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -17,9 +17,9 @@ static const char* leg[] = { static struct ncplane* make_slider(struct notcurses* nc, int dimy, int dimx){ - // 600 frames in the video + // 487 frames in the video const int len = strlen(leg[0]); - const int REPS = 600 / len + dimx / len; + const int REPS = 487 / len + dimx / len; int y = dimy - sizeof(leg) / sizeof(*leg); struct ncplane_options nopts = { .y = y,