1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-19 07:46:24 -05:00

Revert "Don't use 'char' for number of lines"

This reverts commit 8841922689.
This commit is contained in:
Renaud 2014-12-24 09:48:56 +08:00
parent 8841922689
commit bdd71519c4
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ HDR=ebind.h edef.h efunc.h epath.h estruct.h evar.h util.h version.h
CC=gcc CC=gcc
WARNINGS=-Wall -Wstrict-prototypes WARNINGS=-Wall -Wstrict-prototypes
CFLAGS=-O2 $(WARNINGS) -g CFLAGS=-O2 $(WARNINGS)
#CC=c89 +O3 # HP #CC=c89 +O3 # HP
#CFLAGS= -D_HPUX_SOURCE -DSYSV #CFLAGS= -D_HPUX_SOURCE -DSYSV
#CFLAGS=-O4 -DSVR4 # Sun #CFLAGS=-O4 -DSVR4 # Sun

View File

@ -415,8 +415,8 @@ struct window {
struct line *w_markp; /* Line containing "mark" */ struct line *w_markp; /* Line containing "mark" */
int w_doto; /* Byte offset for "." */ int w_doto; /* Byte offset for "." */
int w_marko; /* Byte offset for "mark" */ int w_marko; /* Byte offset for "mark" */
int w_toprow; /* Origin 0 top row of window */ char w_toprow; /* Origin 0 top row of window */
int w_ntrows; /* # of rows of text in window */ char w_ntrows; /* # of rows of text in window */
char w_force; /* If NZ, forcing row. */ char w_force; /* If NZ, forcing row. */
char w_flag; /* Flags. */ char w_flag; /* Flags. */
#if COLOR #if COLOR