One more bug fixed - xforms.git - xforms

index : xforms.git
xforms
summary refs log tree commit diff
diff options
context:
space:
mode:
authorJens Thoms Toerring <jt@toerring.de>2014年06月03日 00:02:16 +0200
committerJens Thoms Toerring <jt@toerring.de>2014年06月03日 00:02:16 +0200
commit5f05d3ef65914590d83eb494d7df18aafb673459 (patch)
treeb39af7851c9ae4caa7ff91ef395f370be4668811
parentea63858d8aed4fc505e9f3c9917bdf78399503ff (diff)
downloadxforms-5f05d3ef65914590d83eb494d7df18aafb673459.tar.gz
One more bug fixed
Diffstat
-rw-r--r--lib/input.c 3
1 files changed, 2 insertions, 1 deletions
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;
generated by cgit v1.2.3 (git 2.46.0) at 2025年11月25日 16:22:57 +0000

AltStyle によって変換されたページ (->オリジナル) /