Revision: 2792
          http://tmux.svn.sourceforge.net/tmux/?rev=2792&view=rev
Author:   tcunha
Date:     2012-05-12 14:57:36 +0000 (Sat, 12 May 2012)
Log Message:
-----------
Sync OpenBSD patchset 1108:

Missing ()s in macros.

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

Modified: trunk/tty.c
===================================================================
--- trunk/tty.c 2012-05-12 14:57:02 UTC (rev 2791)
+++ trunk/tty.c 2012-05-12 14:57:36 UTC (rev 2792)
@@ -55,9 +55,9 @@
            const struct grid_cell *, const struct grid_utf8 *);
 
 #define tty_use_acs(tty) \
-       (tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
+       (tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
 #define tty_use_rect(tty) \
-       (tty->xterm_version > 270)
+       ((tty)->xterm_version > 270)
 
 void
 tty_init(struct tty *tty, int fd, char *term)

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