Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 6892 → Rev 6894

/programs/develop/libraries/iconv/iconv.c
109,6 → 109,20
case UTF_8: wctomb=utf8_wctomb; break;
default: return -3;
}
 
if(from == to) {
int oc=0,ic=0;
 
while(*inbytesleft > 0 && *outbytesleft > 0) {
str[oc]=(*inbuf)[ic];
++ic;
++oc;
(*inbytesleft)--;
(*outbytesleft)--;
}
 
return 0;
}
count1=0;
count2=0;