mbstr_find_codepoint: remove unnecessary cast

pull/531/head
nick black 5 years ago
parent 37aaa9c0e5
commit 199a87c1fd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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);

Loading…
Cancel
Save