diff options
author | sem <sem@FreeBSD.org> | 2004-08-17 02:25:41 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-08-17 02:25:41 +0800 |
commit | 8934986fc58a0af52696b3598011f992412e2fc4 (patch) | |
tree | c7a9a39b448fd0b3b4e098fd050b4bc64193c459 /russian/napster | |
parent | 6388861e632d823c5f3c4703a147a60671686190 (diff) | |
download | freebsd-ports-gnome-8934986fc58a0af52696b3598011f992412e2fc4.tar.gz freebsd-ports-gnome-8934986fc58a0af52696b3598011f992412e2fc4.tar.zst freebsd-ports-gnome-8934986fc58a0af52696b3598011f992412e2fc4.zip |
fix build on 4.x.
Reported by: kris with pointyhat
Diffstat (limited to 'russian/napster')
-rw-r--r-- | russian/napster/files/extra-win2koi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/russian/napster/files/extra-win2koi b/russian/napster/files/extra-win2koi index 76cb19b8f0e8..c3c592e3f66d 100644 --- a/russian/napster/files/extra-win2koi +++ b/russian/napster/files/extra-win2koi @@ -90,15 +90,15 @@ diff -urN src/recoder.h src/recoder.h + +char *recodepage(char * source, char * dest, int codenum) +{ ++int j=0; ++int i=0; + +if((codenum == 1)){table=kw;} +if((codenum == 2)){table=wk;} + -+int j=0; + +strcpy(dest,source); + -+int i=0; +for(i=0;i<strlen(source);i++) +{ + j = source[i]; |