1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

fixed broken if/else stuff

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@624 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2006-04-23 21:57:04 +00:00
parent 3082207800
commit d9d5bb0d72
2 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,7 @@
2006-04-23
* Added support for PowerBook batteries
* Fixed broken $if/$else stuff
2006-04-15
* Added patch from Peter Tarjan to add support for IBM ACPI

View File

@ -2633,11 +2633,9 @@ static void generate_text_internal(char *p, int p_max_size, struct text_object *
(obj->data.net->recv_speed /
1024.0), obj->e, 1);
}
OBJ(
else
) {
OBJ(else) {
if (!if_jumped) {
i = obj->data.ifblock.pos - 2;
i = obj->data.ifblock.pos - 1;
} else {
if_jumped = 0;
}