aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-25 17:42:17 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-25 17:42:17 +0000
commit6e58e83e1237f1d9ba3dda1aa0cb054253bc4d0e (patch)
treecbccee3a42bd309dd2fe85a5dbbb1b12ba29bfb7 /main.c
parentfix indent (diff)
downloadw3m-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 'main.c')
-rw-r--r--main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.c b/main.c
index 586dc1f..2f12fc5 100644
--- a/main.c
+++ b/main.c
@@ -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)