summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2015-10-22 13:46:22 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2015-12-06 12:53:04 +0100
commitbdeb037e104005e09da11facf9a9be511e7fd032 (patch)
tree3d0d47ff0895492ad74c43db846e53c68ba41e6b /src/mark.c
parentb5a6d7688d35f8879bb18da44291164f31972747 (diff)
downloadscreen-bdeb037e104005e09da11facf9a9be511e7fd032.tar.gz
more type conversions to bool
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mark.c b/src/mark.c
index 46aafd1..754e4f0 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -63,7 +63,9 @@ static void MarkProcess(char **, size_t *);
static void MarkAbort(void);
static void MarkRedisplayLine(int, int, int, int);
-int pastefont = 1;
+bool compacthist = false;
+bool join_with_cr = false;
+bool pastefont = true;
const struct LayFuncs MarkLf = {
MarkProcess,
@@ -75,9 +77,6 @@ const struct LayFuncs MarkLf = {
0
};
-int join_with_cr = 0;
-int compacthist = 0;
-
unsigned char mark_key_tab[256]; /* this array must be initialised first! */
static struct markdata *markdata;