=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/prompt.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/less/prompt.c 2016/01/13 22:47:45 1.20 --- src/usr.bin/less/prompt.c 2016/01/17 00:59:09 1.21 *************** *** 174,180 **** switch (c) { case 'a': /* Anything in the message yet? */ ! return (mp > message); case 'b': /* Current byte offset known? */ return (curr_byte(where) != -1); case 'c': --- 174,180 ---- switch (c) { case 'a': /* Anything in the message yet? */ ! return (*message != '\0'); case 'b': /* Current byte offset known? */ return (curr_byte(where) != -1); case 'c': *************** *** 478,484 **** } } ! if (mp == message) return (""); if (maxwidth > 0 && mp >= message + maxwidth) { /* --- 478,484 ---- } } ! if (*message == '\0') return (""); if (maxwidth > 0 && mp >= message + maxwidth) { /*