diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-08-24 15:30:24 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-08-24 15:30:24 (GMT) |
commit | b8987fc6238a747285b3aeac6f3b206a74e0d36a (patch) | |
tree | f8826582a15deec69942310e4405aac3b412b4c0 /src/FbTk/TextUtils.hh | |
parent | 874eb67297cd63999730d1e779ff00581dcbb89d (diff) | |
download | fluxbox_paul-b8987fc6238a747285b3aeac6f3b206a74e0d36a.zip fluxbox_paul-b8987fc6238a747285b3aeac6f3b206a74e0d36a.tar.bz2 |
code simplification / deduplication
* parse the string only once for a bunch of chars to check instead of
starting over again and again from the beginning, created a helper
function to do this (FbTk::StringUtil::findCharFromAlphabetAfterTrigger)
* put same code into a function (setClockModeLabel())
* use much simpler code to switch between 12h and 24h mode and replace
the fmt-switches
Diffstat (limited to 'src/FbTk/TextUtils.hh')
0 files changed, 0 insertions, 0 deletions