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).
This commit is contained in:
parent
e1cc9089a6
commit
78ee82535f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40359
8
vietnamese/vnconvert/files/patch-vn78.c
Normal file
8
vietnamese/vnconvert/files/patch-vn78.c
Normal file
@ -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--) {
|
Loading…
Reference in New Issue
Block a user