diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-05-10 17:51:23 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-05-10 17:51:23 +0200 |
commit | 09437e3f0e22a0819cd841635f572dab88e644ad (patch) | |
tree | 128746728265aab358ad134b7775ebe8f859294a /include | |
parent | 6070826c4d8dafedf3a4b904cbe98e86ef83879b (diff) |
We don't have a negative page number.
Diffstat (limited to 'include')
-rw-r--r-- | include/textbox.h | 18 | ||||
-rw-r--r-- | include/view-internal.h | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/textbox.h b/include/textbox.h index e08b88ed..afadd9e4 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -39,15 +39,15 @@ typedef struct typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, } TextboxFlags; typedef enum diff --git a/include/view-internal.h b/include/view-internal.h index d041023a..4912da10 100644 --- a/include/view-internal.h +++ b/include/view-internal.h @@ -28,7 +28,7 @@ struct RofiViewState int update; int refilter; int rchanged; - int cur_page; + unsigned int cur_page; // Entries textbox *text; |