mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
mbstr_find_codepoint: remove unnecessary cast
This commit is contained in:
parent
37aaa9c0e5
commit
199a87c1fd
@ -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…
Reference in New Issue
Block a user