From 4cb9a14e0f40169028262ace19bc632a6fa2e970 Mon Sep 17 00:00:00 2001 From: Peter Rekdal Sunde Date: Thu, 16 Jul 2015 09:05:42 +0200 Subject: [PATCH] Bugfix: Don't attempt to set OCR language if string is null or empty. --- src/bindings/csharp/openalpr-net/config-net.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bindings/csharp/openalpr-net/config-net.h b/src/bindings/csharp/openalpr-net/config-net.h index b1c7331..e689de6 100644 --- a/src/bindings/csharp/openalpr-net/config-net.h +++ b/src/bindings/csharp/openalpr-net/config-net.h @@ -414,7 +414,6 @@ namespace openalprnet { if (String::IsNullOrWhiteSpace(value)) { - this->m_config->prewarp = ""; return; } this->m_config->ocrLanguage = marshal_as(value);