Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18939

Modified Files:
        input.c 
Log Message:
Sync OpenBSD patchset 807:

Style tweaks.


Index: input.c
===================================================================
RCS file: /cvsroot/tmux/tmux/input.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- input.c     6 Dec 2010 22:52:21 -0000       1.110
+++ input.c     25 Dec 2010 23:43:53 -0000      1.111
@@ -720,11 +720,11 @@
                 * Execute the handler, if any. Don't switch state if it
                 * returns non-zero.
                 */
-               if (itr->handler && itr->handler(ictx) != 0)
+               if (itr->handler != NULL && itr->handler(ictx) != 0)
                        continue;
 
                /* And switch state, if necessary. */
-               if (itr->state) {
+               if (itr->state != NULL) {
                        if (ictx->state->exit != NULL)
                                ictx->state->exit(ictx);
                        ictx->state = itr->state;
@@ -924,9 +924,9 @@
 int
 input_esc_dispatch(struct input_ctx *ictx)
 {
-       struct screen_write_ctx *sctx = &ictx->ctx;
-       struct screen           *s = sctx->s;
-       struct input_table_entry       *entry;
+       struct screen_write_ctx         *sctx = &ictx->ctx;
+       struct screen                   *s = sctx->s;
+       struct input_table_entry        *entry;
 
        if (ictx->flags & INPUT_DISCARD)
                return (0);


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to