mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Fix small logic error in diskio.
This commit is contained in:
parent
2568030509
commit
5d20ed4b8c
@ -118,7 +118,7 @@ static void print_diskio_dir(struct text_object *obj, int dir, char *p, int p_ma
|
||||
|
||||
if (dir < 0)
|
||||
val = diskio->current_read;
|
||||
if (dir == 0)
|
||||
else if (dir == 0)
|
||||
val = diskio->current;
|
||||
else
|
||||
val = diskio->current_write;
|
||||
|
Loading…
Reference in New Issue
Block a user