summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
AgeCommit message (Collapse)AuthorFilesLines
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-0/+11
2009-04-29Changed palette colors to be once again stored in a human readableTametomo1-0/+8
format once again. This was originally reverted because it caused a regression on Windows, but not Linux, which was later found out to be because there's a Linux kernel function which will convert hex strings into an integer format, while Windows doesn't share the same luxury. So, to avoid any issues, this commit adds an atox (ascii to hex) string utility, and uses it when parsing hex strings for colors from the configuration file. Also ensured that people who have colors saved in the old, raw integer format can get their colors converted to hex values. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-13Fixed @'s in a user's nickDavid Athay1-0/+8
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-0/+68
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.