mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion/utf8_helper] HasCodePoint
This commit is contained in:
@@ -48,7 +48,7 @@ void App::Snapshot::setOpt(const char * name, char * value) {
|
||||
if (strcmp(name, "script") == 0) {
|
||||
m_scriptStore.deleteAllScripts();
|
||||
char * separator = const_cast<char *>(UTF8Helper::CodePointSearch(value, ':'));
|
||||
if (!separator) {
|
||||
if (*separator == 0) {
|
||||
return;
|
||||
}
|
||||
*separator = 0;
|
||||
|
||||
Reference in New Issue
Block a user