diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-25 17:42:17 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-25 17:42:17 +0000 |
commit | 6e58e83e1237f1d9ba3dda1aa0cb054253bc4d0e (patch) | |
tree | cbccee3a42bd309dd2fe85a5dbbb1b12ba29bfb7 /main.c | |
parent | fix indent (diff) | |
download | w3m-6e58e83e1237f1d9ba3dda1aa0cb054253bc4d0e.tar.gz w3m-6e58e83e1237f1d9ba3dda1aa0cb054253bc4d0e.zip |
[w3m-dev 03686] Re: fold patch
* buffer.c (writeBufferCache): rewrite
(readBufferCache): rewrite
* etc.c (calcPosition): short -> int realColumn
* fm.h (Line): short -> int len,width,size,bpos,bwidth
(BufferPoint): short->int pos
(Buffer): short->int currentColumn,pos,visualpos
(BufferPos): short->int currentColumn,pos
* frame.h (frameset_queue): short->int pos,currentColumn
* main.c (clear_mark): short->int pos
(dispincsrch): short->int pos
(backBf): short->int pos
(set_buffer_environ): short->int prev_pos
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | main.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.199 2003/01/23 18:38:08 ukai Exp $ */ +/* $Id: main.c,v 1.200 2003/01/25 17:42:17 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -1545,7 +1545,7 @@ rdrwSc(void) static void clear_mark(Line *l) { - short pos; + int pos; if (!l) return; for (pos = 0; pos < l->size; pos++) @@ -1592,7 +1592,7 @@ dispincsrch(int ch, Str buf, Lineprop *prop) { static Buffer sbuf; static Line *currentLine; - static short pos; + static int pos; char *str; int do_next_search = FALSE; @@ -3770,8 +3770,8 @@ backBf(void) struct frameset *fs; long linenumber = buf->frameQ->linenumber; long top = buf->frameQ->top_linenumber; - short pos = buf->frameQ->pos; - short currentColumn = buf->frameQ->currentColumn; + int pos = buf->frameQ->pos; + int currentColumn = buf->frameQ->currentColumn; AnchorList *formitem = buf->frameQ->formitem; fs = popFrameTree(&(buf->frameQ)); @@ -5344,7 +5344,7 @@ set_buffer_environ(Buffer *buf) { static Buffer *prev_buf = NULL; static Line *prev_line = NULL; - static short prev_pos = -1; + static int prev_pos = -1; Line *l; if (buf == NULL) |