Return to cvt.c CVS log | Up to [local] / src / usr.bin / less |
version 1.5, 2015/11/06 15:50:33 | version 1.6, 2016/01/09 17:34:43 | ||
---|---|---|---|
|
|
||
break; | break; | ||
} else { | } else { | ||
/* Just copy the char to the destination buffer. */ | /* Just copy the char to the destination buffer. */ | ||
if ((ops & CVT_TO_LC) && IS_UPPER(ch)) | if ((ops & CVT_TO_LC) && iswupper(ch)) | ||
ch = TO_LOWER(ch); | ch = towlower(ch); | ||
put_wchar(&dst, ch); | put_wchar(&dst, ch); | ||
/* Record the original position of the char. */ | /* Record the original position of the char. */ | ||
if (chpos != NULL) | if (chpos != NULL) |