diff options
author | obrien <obrien@FreeBSD.org> | 2001-03-26 00:46:39 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-03-26 00:46:39 +0800 |
commit | 0b9340d975be8d8a3eae971276bdcbc66aef346a (patch) | |
tree | ddb13890dedfa45e15f5620c22fec836088969c7 | |
parent | 7007cd0af988bb54241778c43e633ad66c486c1a (diff) | |
download | freebsd-ports-gnome-0b9340d975be8d8a3eae971276bdcbc66aef346a.tar.gz freebsd-ports-gnome-0b9340d975be8d8a3eae971276bdcbc66aef346a.tar.zst freebsd-ports-gnome-0b9340d975be8d8a3eae971276bdcbc66aef346a.zip |
Sigh. This code is based on vnlibs. Thus I need to fix the Pascal'ism
where the author thought C arrays are indexed 1..sizeof(array).
-rw-r--r-- | vietnamese/vnconvert/files/patch-vn78.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vietnamese/vnconvert/files/patch-vn78.c b/vietnamese/vnconvert/files/patch-vn78.c new file mode 100644 index 000000000000..ecef42ac3755 --- /dev/null +++ b/vietnamese/vnconvert/files/patch-vn78.c @@ -0,0 +1,8 @@ +--- vn78.c.orig Fri May 20 13:36:15 1994 ++++ vn78.c Sun Mar 25 08:34:01 2001 +@@ -959 +959 @@ +- for (n = sizeof(icode); n; n--) { ++ for (n = sizeof(icode) - 1; n >= 0; n--) { +@@ -1004 +1004 @@ +- for (n = sizeof(icode); n; n--) { ++ for (n = sizeof(icode) - 1; n >= 0; n--) { |