Revision: 2785
          http://tmux.svn.sourceforge.net/tmux/?rev=2785&view=rev
Author:   tcunha
Date:     2012-05-03 17:12:38 +0000 (Thu, 03 May 2012)
Log Message:
-----------
Sync OpenBSD patchset 1103:

Use int not u_char for colours from options since they may have bit 8
set to mark them as 256-colour. Reported by Chris Johnson.

Modified Paths:
--------------
    trunk/status.c

Modified: trunk/status.c
===================================================================
--- trunk/status.c      2012-05-03 16:55:48 UTC (rev 2784)
+++ trunk/status.c      2012-05-03 17:12:38 UTC (rev 2785)
@@ -81,7 +81,7 @@
 {
        struct session  *s = c->session;
        char            *left;
-       u_char           fg, bg, attr;
+       int              fg, bg, attr;
        size_t           leftlen;
 
        fg = options_get_number(&s->options, "status-left-fg");
@@ -111,7 +111,7 @@
 {
        struct session  *s = c->session;
        char            *right;
-       u_char           fg, bg, attr;
+       int              fg, bg, attr;
        size_t           rightlen;
 
        fg = options_get_number(&s->options, "status-right-fg");
@@ -683,7 +683,7 @@
        struct session  *s = c->session;
        const char      *fmt;
        char            *text;
-       u_char           fg, bg, attr;
+       int              fg, bg, attr;
 
        fg = options_get_number(oo, "window-status-fg");
        if (fg != 8)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to