1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[formhist] silly workaround for C++ compiler

This commit is contained in:
Witold Filipczyk 2022-01-30 14:52:23 +01:00
parent 91bf93a784
commit ca1bf5c78d

View File

@ -162,10 +162,12 @@ load_formhist_from_file(void)
name = type; name = type;
if (*name == '*') { if (*name == '*') {
static char password[] = "password";
name++; name++;
type = "password"; type = password;
} else { } else {
type = "text"; static char text[] = "text";
type = text;
} }
goto cont; goto cont;