aboutsummaryrefslogtreecommitdiff
path: root/graphics/epsonscan2/files/patch-src_Standalone_custommessagebox.cpp
blob: 68d340f529f1e3310576a81b5d7ab509cadd2931 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/Standalone/custommessagebox.cpp.orig	2024-09-12 07:10:40 UTC
+++ src/Standalone/custommessagebox.cpp
@@ -150,7 +150,7 @@ void CustomMessageBox::ErrorMessageBox(Supervisor* sv,
             type = Critical;
             error_message = TranslationString::GetString().translation_str.E_ENV_001;
             sv->scanning_status = ERROR;
-        }else if(sv->m_LastError == kSDITransferEventTypeCancel){
+        }else if(sv->m_LastError == (SDIError)kSDITransferEventTypeCancel){
             return;
         }else if(sv->m_LastError == kSDIErrorDataSend){
             type = Critical;