projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef41f45
)
2003/11/03 02:27:06
author
brian
<brian@xwt.org>
Fri, 30 Jan 2004 07:40:48 +0000
(07:40 +0000)
committer
brian
<brian@xwt.org>
Fri, 30 Jan 2004 07:40:48 +0000
(07:40 +0000)
darcs-hash:
20040130074048
-aa32f-
b9e7b85a8746287e52727d2a5281c4943fda6140
.gz
src/org/xwt/translators/MSPack.c
patch
|
blob
|
history
diff --git
a/src/org/xwt/translators/MSPack.c
b/src/org/xwt/translators/MSPack.c
index
96cb1ac
..
2937dcc
100644
(file)
--- a/
src/org/xwt/translators/MSPack.c
+++ b/
src/org/xwt/translators/MSPack.c
@@
-119,7
+119,7
@@
static int my_seek(struct mspack_file *buf_, off_t off, int mode) {
}
if(newpos < 0) return -1;
if(newpos > buf->size) {
- if(buf->writable) return -1;
+ if(!buf->writable) return -1;
if(newpos > buf->length)
mem_buf_grow(buf,newpos);
}