chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b8c01a
)
Remove trailing space; make cursed global static
author
Jonas Fonseca
<fonseca@diku.dk>
Sat, 20 May 2006 12:37:31 +0000
(14:37 +0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Sat, 20 May 2006 12:37:31 +0000
(14:37 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 00791a7777fcf0c250b90960eb1171f3f970d899..3b78ef754ed9b0718194867d534eb4cede92f7c3 100644
(file)
--- 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;