aboutsummaryrefslogtreecommitdiffstats
path: root/func.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-04 16:45:40 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-04 16:45:40 +0000
commitf8e094d717635b55d2502bd792d91e2dcc68acec (patch)
treeab82ac31b4482d66e3c670ded8e7e2424292f007 /func.c
parent[w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable (diff)
downloadw3m-f8e094d717635b55d2502bd792d91e2dcc68acec.tar.gz
w3m-f8e094d717635b55d2502bd792d91e2dcc68acec.zip
[w3m-dev 03521] sync option
* display.c (redrawNLine): calcTabPos() * func.c (initKeymap): return if keymap_initialized * main.c (calcTabPos): no more static (main): move sync_with_option, initCookie, setLocalCookie move backend move initKeymap, initMouseAction, initMenu remove calcTabPos add displayBuffer (numTab): static (deleteTab): delete calcTabPos (moveTab): delete calcTabPos * proto.h (calcTabPos): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/func.c b/func.c
index e0f15a3..e643d0f 100644
--- a/func.c
+++ b/func.c
@@ -1,4 +1,4 @@
-/* $Id: func.c,v 1.20 2002/12/03 16:09:41 ukai Exp $ */
+/* $Id: func.c,v 1.21 2002/12/04 16:45:41 ukai Exp $ */
/*
* w3m func.c
*/
@@ -120,7 +120,7 @@ initKeymap(int force)
struct stat kstat;
extern int str_to_bool(char *value, int old);
- if (!force && !keymap_initialized)
+ if (!force && keymap_initialized)
return;
if ((kf = fopen(rcFile(keymap_file), "rt")) == NULL ||