2005-03-14 22:39:45 +00:00
|
|
|
diff -u abiword-2.2.5.orig/wv/libole2/ms-ole.c abiword-2.2.5/wv/libole2/ms-ole.c
|
|
|
|
--- abiword-2.2.5.orig/wv/libole2/ms-ole.c 2004-10-23 02:59:51.000000000 +0200
|
2005-03-14 23:02:47 +00:00
|
|
|
+++ abiword-2.2.5/wv/libole2/ms-ole.c 2005-03-14 23:36:08.130603903 +0100
|
|
|
|
@@ -482,7 +482,7 @@
|
2005-03-14 22:39:45 +00:00
|
|
|
|
2005-03-14 23:02:47 +00:00
|
|
|
offset = (b+1)*BB_BLOCK_SIZE;
|
|
|
|
f->syswrap->lseek (f->file_des, offset, SEEK_SET, f->syswrap->closure);
|
|
|
|
- f->syswrap->read (f->file_des, attr->data, BB_BLOCK_SIZE, f->syswrap->closure);
|
|
|
|
+ (f->syswrap->read) (f->file_des, attr->data, BB_BLOCK_SIZE, f->syswrap->closure);
|
|
|
|
attr->usage = 1;
|
|
|
|
attr->dirty = forwrite;
|
2005-03-14 22:39:45 +00:00
|
|
|
|
2005-03-14 23:02:47 +00:00
|
|
|
@@ -1791,7 +1791,7 @@
|
|
|
|
f->mem = g_new (guint8, BB_BLOCK_SIZE);
|
|
|
|
|
|
|
|
if (!f->mem ||
|
|
|
|
- f->syswrap->read (file, f->mem, BB_BLOCK_SIZE,
|
|
|
|
+ (f->syswrap->read) (file, f->mem, BB_BLOCK_SIZE,
|
|
|
|
f->syswrap->closure) == -1) {
|
|
|
|
g_warning ("Error reading header\n");
|
|
|
|
f->syswrap->close (file, f->syswrap->closure) ;
|