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:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user