1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -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;
if (*name == '*') {
static char password[] = "password";
name++;
type = "password";
type = password;
} else {
type = "text";
static char text[] = "text";
type = text;
}
goto cont;