From 0bccca62a79996612ec04d13560dc880afb0c0be Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Tue, 10 Nov 2020 10:29:59 +0100
Subject: [PATCH] fixed problem occuring when compiling without LOCALCW

---
 midi3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/midi3.c b/midi3.c
index f4db9b6..d876cd8 100644
--- a/midi3.c
+++ b/midi3.c
@@ -227,7 +227,7 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) {
 		keyer_event(new,val);
 	    }
 #else
-	    g_print("%s: %s:%d\n",__FUNCTION__,action==CWL?"CWL":"CWR",val);
+	    g_print("%s: %s:%d\n",__FUNCTION__,action==MIDI_ACTION_CWL?"CWL":"CWR",val);
 
 #endif
 	    break;
-- 
2.45.2