summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/html.c b/src/utils/html.c
index e3c6841..abc5bf1 100644
--- a/src/utils/html.c
+++ b/src/utils/html.c
@@ -691,7 +691,7 @@ mq_html_input_radio(const gchar *name, const gchar *id, const gchar *label,
"<input type=\"radio\" name=\"%s\" "
"id=\"%s\"%s>\n"
"</label>\n",
- name, label, name, id,
+ id, label, name, id,
checked ? " checked=\"checked\"" : "");
} else {
return g_strdup_printf(