aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buffer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/buffer.c b/buffer.c
index e4b929b..d350e22 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,4 +1,4 @@
-/* $Id: buffer.c,v 1.23 2003/01/25 17:42:17 ukai Exp $ */
+/* $Id: buffer.c,v 1.24 2003/01/25 18:06:25 ukai Exp $ */
#include "fm.h"
#ifdef USE_MOUSE
@@ -638,8 +638,7 @@ writeBufferCache(Buffer *buf)
fwrite1(l->width, cache) ||
fwrite1(l->len, cache) ||
fwrite1(l->size, cache) ||
- fwrite1(l->bpos, cache) ||
- fwrite1(l->bwidth, cache))
+ fwrite1(l->bpos, cache) || fwrite1(l->bwidth, cache))
goto _error;
if (l->bpos == 0) {
if (fwrite(l->lineBuf, 1, l->size, cache) < l->size ||
@@ -708,8 +707,7 @@ readBufferCache(Buffer *buf)
fread1(l->width, cache) ||
fread1(l->len, cache) ||
fread1(l->size, cache) ||
- fread1(l->bpos, cache) ||
- fread1(l->bwidth, cache))
+ fread1(l->bpos, cache) || fread1(l->bwidth, cache))
break;
if (l->bpos == 0) {
basel = l;