aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:55:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:55:20 +0000
commitb4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1 (patch)
tree25405bb8b1b0ed6e69b3b649b47eb298c5cca7f0
parent[w3m-dev 02902] mouse inactive after ALARM commands. (diff)
downloadw3m-b4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1.tar.gz
w3m-b4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1.zip
[w3m-dev 02904]
* rc.c (N_STR): use cpp stringification From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--rc.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ee859f9..b61a16a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-25 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 02904]
+ * rc.c (N_STR): use cpp stringification
+
2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02902] mouse inactive after calling some command with ALARM.
@@ -2281,4 +2286,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.259 2002/01/24 17:46:50 ukai Exp $
+$Id: ChangeLog,v 1.260 2002/01/25 14:55:20 ukai Exp $
diff --git a/rc.c b/rc.c
index 7c9db51..29a0051 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.35 2002/01/24 17:29:45 ukai Exp $ */
+/* $Id: rc.c,v 1.36 2002/01/25 14:55:20 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -364,12 +364,18 @@ static struct sel_c colorstr[] = {
};
#endif /* USE_COLOR */
+#if 1 /* ANSI-C ? */
+#define N_STR(x) #x
+#define N_S(x) (x), N_STR(x)
+#else /* for traditional cpp? */
static char n_s[][2] = {
{'0', 0},
{'1', 0},
{'2', 0},
};
#define N_S(x) (x), n_s[(x)]
+#endif
+
static struct sel_c defaulturls[] = {
#if LANG == JA