projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79958a
)
Added comments to a couple of non-obvious lines (to me, anyway)
author
Kevin Lyles
<iqgryn@users.sourceforge.net>
Sat, 21 Jun 2008 09:24:39 +0000
(09:24 +0000)
committer
Kevin Lyles
<iqgryn@users.sourceforge.net>
Sat, 21 Jun 2008 09:24:39 +0000
(09:24 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1178
7f574dfc
-610e-0410-a909-
a81674777703
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
bd9e0ad
..
fdbfefb
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-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;