[w3m-dev 03525] Re: sync option

* func.c (initKeymap): delete check force, keymap_initialized
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-12-04 17:15:35 +00:00
parent 9a38ed27e4
commit 284d762709
2 changed files with 7 additions and 5 deletions

5
func.c
View File

@@ -1,4 +1,4 @@
/* $Id: func.c,v 1.21 2002/12/04 16:45:41 ukai Exp $ */
/* $Id: func.c,v 1.22 2002/12/04 17:15:35 ukai Exp $ */
/*
* w3m func.c
*/
@@ -120,9 +120,6 @@ initKeymap(int force)
struct stat kstat;
extern int str_to_bool(char *value, int old);
if (!force && keymap_initialized)
return;
if ((kf = fopen(rcFile(keymap_file), "rt")) == NULL ||
((fd = fileno(kf)) < 0 || fstat(fd, &kstat) ||
(!force && keymap_initialized &&