From 79ee501e03a6ea1ee84f33c23a45b8fdc3873f43 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Sun, 16 Aug 2015 15:53:07 -0700 Subject: [PATCH] Fixing typo on range check for MDErgo1 --- Macro/PartialMap/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Macro/PartialMap/macro.c b/Macro/PartialMap/macro.c index 8cebce4..f6c70ed 100644 --- a/Macro/PartialMap/macro.c +++ b/Macro/PartialMap/macro.c @@ -470,7 +470,7 @@ inline void Macro_interconnectAdd( void *trigger_ptr ) } // Check if ScanCode is out of range - if ( scanCode > MaxScanCode ) + if ( trigger->scanCode > MaxScanCode ) { warn_msg("ScanCode is out of range/not defined - "); error = 1;