From 68b6e0eb4fb5becfdbc8be67b06c9bffc21bf04c Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 20 May 2006 14:37:31 +0200 Subject: [PATCH] Remove trailing space; make cursed global static --- tig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tig.c b/tig.c index 00791a7..3b78ef7 100644 --- a/tig.c +++ b/tig.c @@ -2014,7 +2014,7 @@ utf8_to_unicode(const char *string, size_t length) unicode += ((string[3] & 0x3f) << 6); unicode += (string[4] & 0x3f); break; - case 6: + case 6: unicode = (string[0] & 0x01) << 30; unicode += ((string[1] & 0x3f) << 24); unicode += ((string[2] & 0x3f) << 18); @@ -2101,7 +2101,7 @@ utf8_length(const char *string, size_t max_width, int *coloffset, int *trimmed) */ /* Whether or not the curses interface has been initialized. */ -bool cursed = FALSE; +static bool cursed = FALSE; /* The status window is used for polling keystrokes. */ static WINDOW *status_win; -- 2.11.0