From 07d62c1b1c32904144dc84090f626e34857d63cf Mon Sep 17 00:00:00 2001 From: Phoenix Cushman Date: Mon, 9 Jun 2025 22:05:15 -0400 Subject: [PATCH] Added a fix to the CleanupSPASMErrorSession function so that it doesn't include warnings when counting the number of fatal errors. --- errors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.cpp b/errors.cpp index a67300a..399ab1e 100644 --- a/errors.cpp +++ b/errors.cpp @@ -250,7 +250,7 @@ int CleanupSPASMErrorSession(int nSession) { pPrev->next = pList->next; } - if(IsSPASMErrorFatal(lpErr->dwErrorCode)) { + if(IsSPASMErrorFatal(lpErr->dwErrorCode) && !lpErr->fIsWarning) { fatalErrorCount++; } FreeErrorInstance(lpErr);