Bugfix: Don't attempt to set OCR language if string is null or empty.

This commit is contained in:
Peter Rekdal Sunde
2015-07-16 09:05:42 +02:00
parent a4f34bd112
commit 4cb9a14e0f

View File

@@ -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);