aboutsummaryrefslogtreecommitdiffstats
path: root/textlist.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-10-31 11:22:26 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-10-31 11:22:26 +0000
commit6f1454580d0c7d6e50319116a72447c6e7efaea5 (patch)
tree5f0a2f5769f2d49c2477f332866c779aec6ad91d /textlist.h
parentUpdate ChangeLog (diff)
downloadw3m-6f1454580d0c7d6e50319116a72447c6e7efaea5.tar.gz
w3m-6f1454580d0c7d6e50319116a72447c6e7efaea5.zip
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
Diffstat (limited to '')
-rw-r--r--textlist.h6
1 files changed, 3 insertions, 3 deletions
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);