Update of /cvsroot/tmux/tmux
In directory vz-cvs-2.sog:/tmp/cvs-serv20414
Modified Files:
cmd-display-message.c
Log Message:
|PatchSet 883
|Date: 2011/04/06 12:36:26
|Author: miod
|Branch: HEAD
|Tag: (none)
|Log:
|Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
|for chars.
Index: cmd-display-message.c
===================================================================
RCS file: /cvsroot/tmux/tmux/cmd-display-message.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cmd-display-message.c 6 Apr 2011 22:21:02 -0000 1.9
+++ cmd-display-message.c 6 Apr 2011 22:24:20 -0000 1.10
@@ -52,7 +52,7 @@
if ((c = cmd_find_client(ctx, args_get(args, 'c'))) == NULL)
return (-1);
- if (args_has(args, 't') != NULL) {
+ if (args_has(args, 't') != 0) {
wl = cmd_find_pane(ctx, args_get(args, 't'), &s, &wp);
if (wl == NULL)
return (-1);
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs