diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-07-17 14:00:25 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-07-17 14:00:25 +0200 |
commit | 39dff3f68575d4923038c075033906de162a3600 (patch) | |
tree | 18a554c12be2ec781290eea918ab68840a1588b3 | |
parent | 99b39e5d0dd0f595000bdff35694f96905210ce5 (diff) | |
download | calcurse-39dff3f68575d4923038c075033906de162a3600.tar.gz calcurse-39dff3f68575d4923038c075033906de162a3600.zip |
Add a short format specifier for "%(remaining)"
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 3540be8..a1d410a 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1158,6 +1158,8 @@ static enum format_specifier parse_fs(const char **s, char *extformat) return FS_NOTEFILE; case 'p': return FS_PRIORITY; + case 'r': + return FS_REMAINING; case '(': /* Long format specifier. */ for ((*s)++, i = 0; **s != ':' && **s != ')'; (*s)++, i++) { |