1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

Fix small logic error in diskio.

This commit is contained in:
Brenden Matthews 2010-01-06 10:17:40 -08:00
parent 2568030509
commit 5d20ed4b8c

View File

@ -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;