1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

fixup_select_state was unnecessary

This commit is contained in:
Witold Filipczyk 2006-05-02 12:56:05 +02:00 committed by Witold Filipczyk
parent cdd86d3c20
commit 9f69170c2a
4 changed files with 1 additions and 4 deletions

View File

@ -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);
}
}
}

View File

@ -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;

View File

@ -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;

View File

@ -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);