fixed 1c19f11

master
Alessandro Mauri 5 years ago
parent 8efd7c3fbd
commit 40396405e5
  1. 7
      ste.c

@ -780,9 +780,10 @@ void curUpdateRender ()
t.cur.off_x -= t.cur.off_x - t.cur.r_x; t.cur.off_x -= t.cur.off_x - t.cur.r_x;
t.cur.r_x = 0; t.cur.r_x = 0;
} else if (t.cur.r_x >= t.cur.off_x + t.dim.x) { } else if (t.cur.r_x > t.cur.off_x + t.dim.x) {
t.cur.off_x += t.cur.r_x - t.cur.off_x - t.dim.x; if (t.cur.r_x == t.cur.off_x + t.dim.x) t.cur.off_x++;
t.cur.r_x = t.dim.x - 1; else t.cur.off_x += t.cur.r_x - t.cur.off_x - t.dim.x;
t.cur.r_x = t.dim.x;
} }
} }
/*--------------------------------- testing ------------------------------------*/ /*--------------------------------- testing ------------------------------------*/

Loading…
Cancel
Save