summaryrefslogtreecommitdiff
path: root/libcons/vcons-move-mouse.c
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig@debianpt.org>2013-06-01 21:58:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-01 21:58:40 +0200
commitd86f1bcc22e0a7562906bdb49af1095db7dac807 (patch)
tree21dd0308f7410d0274ec8312fd62f7020bf93dad /libcons/vcons-move-mouse.c
parent47f2683d0200167b4b268c53e34775188cff5366 (diff)
Add missing break
* libcons/vcons-move-mouse.c (cons_vcons_move_mouse): Add missing break.
Diffstat (limited to 'libcons/vcons-move-mouse.c')
-rw-r--r--libcons/vcons-move-mouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcons/vcons-move-mouse.c b/libcons/vcons-move-mouse.c
index 6c74d9fc..631f2ef5 100644
--- a/libcons/vcons-move-mouse.c
+++ b/libcons/vcons-move-mouse.c
@@ -47,7 +47,8 @@ cons_vcons_move_mouse (vcons_t vcons, mouse_event_t ev)
case CONS_VCONS_MOUSE_MOVE_ABS_PERCENT:
mousepos_x = vcons->state.screen.width * ev->x / 100;
mousepos_y = vcons->state.screen.height * ev->y / 100;
-
+ break;
+
case CONS_VCONS_MOUSE_MOVE_ABS:
mousepos_x = ev->x;
mousepos_y = ev->y;