=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.81 retrieving revision 1.82 diff -c -r1.81 -r1.82 *** src/usr.bin/tmux/status.c 2011/11/15 23:34:12 1.81 --- src/usr.bin/tmux/status.c 2011/12/01 20:42:31 1.82 *************** *** 1,4 **** ! /* $OpenBSD: status.c,v 1.81 2011/11/15 23:34:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: status.c,v 1.82 2011/12/01 20:42:31 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1156,1166 **** /* Find the separator at the end of the word. */ while (c->prompt_index != size) { c->prompt_index++; ! if (strchr(wsep, c->prompt_buffer[c->prompt_index])) { ! /* Go back to the word. */ ! c->prompt_index--; break; - } } c->flags |= CLIENT_STATUS; --- 1156,1163 ---- /* Find the separator at the end of the word. */ while (c->prompt_index != size) { c->prompt_index++; ! if (strchr(wsep, c->prompt_buffer[c->prompt_index])) break; } c->flags |= CLIENT_STATUS;