mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
fixup_select_state was unnecessary
This commit is contained in:
parent
cdd86d3c20
commit
9f69170c2a
@ -338,7 +338,6 @@ input_put(struct SEE_interpreter *interp, struct SEE_object *o,
|
||||
if (item >=0 && item < fc->nvalues) {
|
||||
fs->state = item;
|
||||
mem_free_set(&fs->value, stracpy(fc->values[item]));
|
||||
fixup_select_state(fc, fs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -307,7 +307,6 @@ input_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
if (item >= 0 && item < fc->nvalues) {
|
||||
fs->state = item;
|
||||
mem_free_set(&fs->value, stracpy(fc->values[item]));
|
||||
fixup_select_state(fc, fs);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -89,7 +89,7 @@ done_submitted_value(struct submitted_value *sv)
|
||||
mem_free(sv);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
fixup_select_state(struct form_control *fc, struct form_state *fs)
|
||||
{
|
||||
int i;
|
||||
|
@ -72,7 +72,6 @@ struct uri *get_form_uri(struct session *ses, struct document_view *doc_view, st
|
||||
|
||||
unsigned char *get_form_info(struct session *ses, struct document_view *doc_view);
|
||||
|
||||
void fixup_select_state(struct form_control *fc, struct form_state *fs);
|
||||
void selected_item(struct terminal *term, void *item_, void *ses_);
|
||||
int get_current_state(struct session *ses);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user