changeset 2549 | f1d3b383d557 |
parent 2548 | 97ada3bd2702 |
child 2561 | c78c3d248897 |
--- a/ship_gui.c Sat Oct 22 06:39:32 2005 +0000 +++ b/ship_gui.c Sun Oct 23 13:04:44 2005 +0000 @@ -1077,7 +1077,7 @@ case 7: { /* Matrix to show vehicles */ uint32 id_v = (e->click.pt.y - PLY_WND_PRC__OFFSET_TOP_WIDGET) / PLY_WND_PRC__SIZE_OF_ROW_BIG; - if (id_v >= w->vscroll.cap) { return;} // click out of bounds + if (id_v >= w->vscroll.cap) return; // click out of bounds id_v += w->vscroll.pos;