diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-05-14 11:16:39 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-05-14 11:23:27 +0200 |
commit | 9e86e258f2a34a94e63665dd31571bbfb124d0f9 (patch) | |
tree | db7d2c2ceeac1bb47c1031d2aca3b58d0e0ffbf4 /src/llist.h | |
parent | ce93fa8adbeb31d160cba198e50e3f828e8def50 (diff) | |
download | calcurse-9e86e258f2a34a94e63665dd31571bbfb124d0f9.tar.gz calcurse-9e86e258f2a34a94e63665dd31571bbfb124d0f9.zip |
Refactor display_item_date()
Replace nested case differentiations by initializing every single
character for each flag separately and joining all characters
afterwards. This makes it much easier to extend the function later.
Note that the same approach is already used in display_item().
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/llist.h')
0 files changed, 0 insertions, 0 deletions