aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-08-24 16:13:30 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-08-30 16:08:34 +0200
commit22b4be77888ada3536b57f1da3e265000bc2df82 (patch)
treef62639c99435a0973940d28fada935cc4d1ad507
parent6abc25ec37c32476414284062746417b49c155a6 (diff)
Use uppercase Submit by default in buttons
-rw-r--r--src/form.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index 2ad743b5..bbf2d30b 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -2,7 +2,7 @@
* File: form.cc
*
* Copyright 2008 Jorge Arellano Cid <jcid@dillo.org>
- * Copyright 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
+ * Copyright 2024-2025 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -485,7 +485,7 @@ void Html_tag_open_input(DilloHtml *html, const char *tag, int tagsize)
resource = factory->createEntryResource(size, false, name, NULL);
} else if (!dStrAsciiCasecmp(type, "submit")) {
inp_type = DILLO_HTML_INPUT_SUBMIT;
- init_str = (value) ? value : dStrdup("submit");
+ init_str = (value) ? value : dStrdup("Submit");
resource = factory->createLabelButtonResource(init_str);
} else if (!dStrAsciiCasecmp(type, "reset")) {
inp_type = DILLO_HTML_INPUT_RESET;