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:
parent
91bf93a784
commit
ca1bf5c78d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user