Style tweaks.

This commit is contained in:
Nicholas Marriott 2010-12-23 20:18:39 +00:00
parent acf13ce978
commit 6fd2b5b87f

View File

@ -720,11 +720,11 @@ input_parse(struct window_pane *wp)
* 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;