From 6f1454580d0c7d6e50319116a72447c6e7efaea5 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Mon, 31 Oct 2016 20:22:26 +0900 Subject: Revert "Treat table height as int instead of short" This reverts commit 0c9aebb26a16ad3acc69b2e87ffd216d43879cb6. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842623 --- textlist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'textlist.h') diff --git a/textlist.h b/textlist.h index 385eee4..f28b199 100644 --- a/textlist.h +++ b/textlist.h @@ -14,7 +14,7 @@ typedef struct _listitem { typedef struct _generallist { ListItem *first; ListItem *last; - int nitem; + short nitem; } GeneralList; extern ListItem *newListItem(void *s, ListItem *n, ListItem *p); @@ -36,7 +36,7 @@ typedef struct _textlistitem { typedef struct _textlist { TextListItem *first; TextListItem *last; - int nitem; + short nitem; } TextList; #define newTextList() ((TextList *)newGeneralList()) @@ -62,7 +62,7 @@ typedef struct _textlinelistitem { typedef struct _textlinelist { TextLineListItem *first; TextLineListItem *last; - int nitem; + short nitem; } TextLineList; extern TextLine *newTextLine(Str line, int pos); -- cgit v1.2.3