1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

Added comments to a couple of non-obvious lines (to me, anyway)

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1178 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Kevin Lyles 2008-06-21 09:24:39 +00:00
parent d79958ac84
commit 01ca7ad07a

View File

@ -915,6 +915,7 @@ static inline void new_alignr(char *buf, long c)
new_special(buf, ALIGNR)->arg = c;
}
// A postive offset pushes the text further left
static inline void new_alignc(char *buf, long c)
{
new_special(buf, ALIGNC)->arg = c;
@ -7757,6 +7758,7 @@ void clean_up(void)
static int string_to_bool(const char *s)
{
if (!s) {
// Assumes an option without a true/false means true
return 1;
} else if (strcasecmp(s, "yes") == 0) {
return 1;