Fixed a typo that caused compiler error when the

DEBUG symbol was defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2221 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit
2002-12-10 19:44:26 +00:00
parent 618b1338cc
commit 64e16528f6
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -12,8 +12,6 @@
#include "debug.h" #include "debug.h"
#include "MidiEvent.h" #include "MidiEvent.h"
#define DEBUG
//----------------------------------------------- //-----------------------------------------------
#define MSG_CODE_PROCESS_EVENT 1 #define MSG_CODE_PROCESS_EVENT 1
+1 -3
View File
@@ -7,8 +7,6 @@
#include <Debug.h> #include <Debug.h>
#include <List.h> #include <List.h>
//-----------------------------------------------
//#define DEBUG
//----------------------------------------------- //-----------------------------------------------
//----------------------------------------------- //-----------------------------------------------
@@ -162,7 +160,7 @@ status_t status = B_NO_ERROR;
char mtrk[4]; char mtrk[4];
if (ReadMT(mtrk) == false) if (ReadMT(mtrk) == false)
{ {
PRINT("Error while reading MTrk\n"); PRINT(("Error while reading MTrk\n"));
status = B_BAD_MIDI_DATA; status = B_BAD_MIDI_DATA;
break; break;
} }