Commit aad915f4785d19a3b06c9a33f0af466c09928124
1 parent
f0faafd1
Exists in
master
and in
3 other branches
Ajustes na versão android
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
html.c
@@ -316,8 +316,9 @@ | @@ -316,8 +316,9 @@ | ||
316 | append_string(&info,name); | 316 | append_string(&info,name); |
317 | append_string(&info,"\" value=\""); | 317 | append_string(&info,"\" value=\""); |
318 | append_string(&info,ptr); | 318 | append_string(&info,ptr); |
319 | - append_string(&info,"\""); | 319 | + append_string(&info,"\" />"); |
320 | info.mode = HTML_MODE_INPUT_BUTTON; | 320 | info.mode = HTML_MODE_INPUT_BUTTON; |
321 | + info.maxlength = 0; | ||
321 | info.input = info.text+strlen(info.text); | 322 | info.input = info.text+strlen(info.text); |
322 | 323 | ||
323 | } | 324 | } |
@@ -331,7 +332,7 @@ | @@ -331,7 +332,7 @@ | ||
331 | append_string(&info," "); | 332 | append_string(&info," "); |
332 | } | 333 | } |
333 | } | 334 | } |
334 | - else | 335 | + else if(info.mode != HTML_MODE_INPUT_BUTTON) |
335 | { | 336 | { |
336 | // Normal text | 337 | // Normal text |
337 | if(info.mode == HTML_MODE_TEXT) | 338 | if(info.mode == HTML_MODE_TEXT) |