mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +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:
parent
3082207800
commit
d9d5bb0d72
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user