version 1.20, 2016/01/13 22:47:45 |
version 1.21, 2016/01/17 00:59:09 |
|
|
|
|
switch (c) { |
switch (c) { |
case 'a': /* Anything in the message yet? */ |
case 'a': /* Anything in the message yet? */ |
return (mp > message); |
return (*message != '\0'); |
case 'b': /* Current byte offset known? */ |
case 'b': /* Current byte offset known? */ |
return (curr_byte(where) != -1); |
return (curr_byte(where) != -1); |
case 'c': |
case 'c': |
|
|
} |
} |
} |
} |
|
|
if (mp == message) |
if (*message == '\0') |
return (""); |
return (""); |
if (maxwidth > 0 && mp >= message + maxwidth) { |
if (maxwidth > 0 && mp >= message + maxwidth) { |
/* |
/* |