mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 23:00:49 +08:00
Merge pull request #164 from peters/master
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))
|
if (String::IsNullOrWhiteSpace(value))
|
||||||
{
|
{
|
||||||
this->m_config->prewarp = "";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this->m_config->ocrLanguage = marshal_as<std::string>(value);
|
this->m_config->ocrLanguage = marshal_as<std::string>(value);
|
||||||
|
Reference in New Issue
Block a user