1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Set returned value.

This commit is contained in:
witekfl 2006-01-25 22:22:10 +01:00 committed by
parent ea2d7a3325
commit e5dbbff398

View File

@ -336,6 +336,8 @@ js_input_blur(struct SEE_interpreter *interp, struct SEE_object *self,
struct SEE_object *thisobj, int argc, struct SEE_value **argv, struct SEE_object *thisobj, int argc, struct SEE_value **argv,
struct SEE_value *res) struct SEE_value *res)
{ {
checktime(interp);
SEE_SET_BOOLEAN(res, 0);
/* We are a text-mode browser and there *always* has to be something /* We are a text-mode browser and there *always* has to be something
* selected. So we do nothing for now. (That was easy.) */ * selected. So we do nothing for now. (That was easy.) */
} }
@ -390,6 +392,7 @@ js_input_focus(struct SEE_interpreter *interp, struct SEE_object *self,
int linknum; int linknum;
checktime(interp); checktime(interp);
SEE_SET_BOOLEAN(res, 0);
assert(fs); assert(fs);
fc = find_form_control(document, fs); fc = find_form_control(document, fs);
assert(fc); assert(fc);
@ -409,6 +412,7 @@ js_input_select(struct SEE_interpreter *interp, struct SEE_object *self,
struct SEE_value *res) struct SEE_value *res)
{ {
checktime(interp); checktime(interp);
SEE_SET_BOOLEAN(res, 0);
/* We support no text selecting yet. So we do nothing for now. /* We support no text selecting yet. So we do nothing for now.
* (That was easy, too.) */ * (That was easy, too.) */
} }