diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-04 13:51:51 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-04 13:51:51 (EDT) |
commit | 54750cbca0c6d63bb06b0a1e59d4b1bcf59ce840 (patch) | |
tree | c750617a48efceb1572c4d0327724c7d8e4d11f6 | |
parent | 933332c27c752eaa7b4a061773c8a9605341abd7 (diff) | |
download | marquee-54750cbca0c6d63bb06b0a1e59d4b1bcf59ce840.zip marquee-54750cbca0c6d63bb06b0a1e59d4b1bcf59ce840.tar.gz marquee-54750cbca0c6d63bb06b0a1e59d4b1bcf59ce840.tar.bz2 |
mq_html_input_radio(): Fix <label>'s for attribute
-rw-r--r-- | src/utils/html.c | 2 |
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( |