| author | Jens Thoms Toerring <jt@toerring.de> | 2014年06月03日 00:02:16 +0200 |
|---|---|---|
| committer | Jens Thoms Toerring <jt@toerring.de> | 2014年06月03日 00:02:16 +0200 |
| commit | 5f05d3ef65914590d83eb494d7df18aafb673459 (patch) | |
| tree | b39af7851c9ae4caa7ff91ef395f370be4668811 | |
| parent | ea63858d8aed4fc505e9f3c9917bdf78399503ff (diff) | |
| download | xforms-5f05d3ef65914590d83eb494d7df18aafb673459.tar.gz | |
| -rw-r--r-- | lib/input.c | 3 |
diff --git a/lib/input.c b/lib/input.c index 4f6c934..dddab63 100644 --- a/lib/input.c +++ b/lib/input.c @@ -1526,7 +1526,7 @@ handle_input( FL_OBJECT * obj, case FL_FREEMEM: fli_safe_free( ( ( FLI_INPUT_SPEC * ) obj->spec )->str ); fli_safe_free( obj->spec ); - break; + return ret; } if ( ret @@ -1546,6 +1546,7 @@ handle_input( FL_OBJECT * obj, /* In some places the x- and y-coordinates (column and row) of the cursor aren't set consistently, so repair it here... */ + if ( obj->spec ) fl_get_input_cursorpos( obj, &sp->xpos, &sp->ypos ); return ret; |