aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-08-16 18:25:41 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-08-16 18:25:41 +0000
commit5085ca0cb89db26d2f5d495fae25b7859d33eeae (patch)
tree97ac48a6ce9db4125c309306dcab611cee517f2e /russian
parentcff62413b9b2145afef2bd114c6a8c8d372591b5 (diff)
downloadports-5085ca0cb89db26d2f5d495fae25b7859d33eeae.tar.gz
ports-5085ca0cb89db26d2f5d495fae25b7859d33eeae.zip
fix build on 4.x.
Reported by: kris with pointyhat
Notes
Notes: svn path=/head/; revision=116427
Diffstat (limited to 'russian')
-rw-r--r--russian/napster/files/extra-win2koi4
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];