aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/170_number-prefix.patch
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:38:13 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:38:13 +0000
commitddd965984492e74c3e5fc0fb922d4362fd3aebda (patch)
tree1f554ce14b66a9b4c344d62948a473fb1d367262 /debian/patches/170_number-prefix.patch
parentReleasing debian version 0.5.2-7 (diff)
downloadw3m-ddd965984492e74c3e5fc0fb922d4362fd3aebda.tar.gz
w3m-ddd965984492e74c3e5fc0fb922d4362fd3aebda.zip
Releasing debian version 0.5.2-8debian/0.5.2-8
Diffstat (limited to 'debian/patches/170_number-prefix.patch')
-rw-r--r--debian/patches/170_number-prefix.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/patches/170_number-prefix.patch b/debian/patches/170_number-prefix.patch
deleted file mode 100644
index 5ad5f13..0000000
--- a/debian/patches/170_number-prefix.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Description: Make number prefixes working when vi_prec_num=0
- * [w3m-dev 04271] vi_prec_num
- * main.c: make number prefixes working when vi_prec_num=0.
-Origin: upstream, http://w3m.cvs.sourceforge.net/viewvc/w3m/w3m/
-Author: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
-
-diff -urN w3m-0.5.2.orig/main.c w3m/main.c
---- w3m-0.5.2.orig/main.c 2007-05-31 10:19:50.000000000 +0900
-+++ w3m/main.c 2007-06-04 22:21:10.000000000 +0900
-@@ -1,4 +1,4 @@
--/* $Id: main.c,v 1.258 2007/05/31 01:19:50 inu Exp $ */
-+/* $Id: main.c,v 1.259 2007/06/04 13:21:10 inu Exp $ */
- #define MAINPROGRAM
- #include "fm.h"
- #include <signal.h>
-@@ -1152,18 +1152,11 @@
- mouse_inactive();
- #endif /* USE_MOUSE */
- if (IS_ASCII(c)) { /* Ascii */
-- if( vi_prec_num ){
-- if(((prec_num && c == '0') || '1' <= c) && (c <= '9')) {
-- prec_num = prec_num * 10 + (int)(c - '0');
-- if (prec_num > PREC_LIMIT)
-- prec_num = PREC_LIMIT;
-- }
-- else {
-- set_buffer_environ(Currentbuf);
-- save_buffer_position(Currentbuf);
-- keyPressEventProc((int)c);
-- prec_num = 0;
-- }
-+ if (('0' <= c) && (c <= '9') &&
-+ (prec_num || (GlobalKeymap[c] == FUNCNAME_nulcmd))) {
-+ prec_num = prec_num * 10 + (int)(c - '0');
-+ if (prec_num > PREC_LIMIT)
-+ prec_num = PREC_LIMIT;
- }
- else {
- set_buffer_environ(Currentbuf);