summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-05-10 17:51:23 +0200
committerDave Davenport <qball@gmpclient.org>2016-05-10 17:51:23 +0200
commit09437e3f0e22a0819cd841635f572dab88e644ad (patch)
tree128746728265aab358ad134b7775ebe8f859294a /include
parent6070826c4d8dafedf3a4b904cbe98e86ef83879b (diff)
We don't have a negative page number.
Diffstat (limited to 'include')
-rw-r--r--include/textbox.h18
-rw-r--r--include/view-internal.h2
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;