mbstr_find_codepoint: remove unnecessary cast

This commit is contained in:
nick black 2020-04-21 06:59:06 -04:00
parent 37aaa9c0e5
commit 199a87c1fd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -402,7 +402,7 @@ mbstr_find_codepoint(const char* s, char32_t cp, int* col){
if(r == 0){
break;
}
if(towlower(cp) == (char32_t)towlower(w)){
if(towlower(cp) == towlower(w)){
return bytes;
}
*col += wcwidth(w);