mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 19:20:58 +08:00
Bugfix: Don't attempt to set OCR language if string is null or empty.
This commit is contained in:
@@ -414,7 +414,6 @@ namespace openalprnet
|
||||
{
|
||||
if (String::IsNullOrWhiteSpace(value))
|
||||
{
|
||||
this->m_config->prewarp = "";
|
||||
return;
|
||||
}
|
||||
this->m_config->ocrLanguage = marshal_as<std::string>(value);
|
||||
|
Reference in New Issue
Block a user