From 5d20ed4b8c37413c0576832441bee311c0d6c8c1 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Wed, 6 Jan 2010 10:17:40 -0800 Subject: [PATCH] Fix small logic error in diskio. --- src/diskio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diskio.cc b/src/diskio.cc index 43ef16b4..fba71380 100644 --- a/src/diskio.cc +++ b/src/diskio.cc @@ -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;