diff --git a/programs/cmm/lib/list_box.h b/programs/cmm/lib/list_box.h index 6a6348aba7..45fa081a95 100644 --- a/programs/cmm/lib/list_box.h +++ b/programs/cmm/lib/list_box.h @@ -102,21 +102,21 @@ struct llist :int llist::ProcessMouse(int xx, yy) { - int cur_y_temp, cur_x_temp, ret=0; + int new_cur_y, new_cur_x, ret=0; if (MouseOver(xx, yy)) { - cur_y_temp = yy - y / item_h + first; - if (cur_y_temp != cur_y) && (cur_y_temp