mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[unicode] Use unicode when dealing with chars - Part 2
This commit is contained in:
@@ -115,10 +115,8 @@ void ListController::didEnterResponderChain(Responder * previousFirstResponder)
|
||||
}
|
||||
|
||||
bool textRepresentsAnEquality(const char * text) {
|
||||
if (strchr(text, '=')) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
char equal = '=';
|
||||
return UTF8Helper::CodePointIs(UTF8Helper::CodePointSearch(text, equal), equal);
|
||||
}
|
||||
|
||||
bool layoutRepresentsAnEquality(Poincare::Layout l) {
|
||||
|
||||
Reference in New Issue
Block a user