Fix the undefined char symbols appearing in many output lines. This printf does neither support nor need \n.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13229 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/plugins/midi/midifile.c b/apps/plugins/midi/midifile.c
index 32eeeec..7161818 100644
--- a/apps/plugins/midi/midifile.c
+++ b/apps/plugins/midi/midifile.c
@@ -30,7 +30,7 @@
 
     if(file==-1)
     {
-        printf("Could not open file\n");
+        printf("Could not open file");
         return NULL;
     }
 
@@ -39,7 +39,7 @@
     if(mfload==NULL)
     {
         rb->close(file);
-        printf("Could not allocate memory for MIDIfile struct\n");
+        printf("Could not allocate memory for MIDIfile struct");
         return NULL;
     }
 
@@ -50,8 +50,8 @@
     {
         if(fileID == ID_RIFF)
         {
-            printf("\nDetected RMID file");
-            printf("\nLooking for MThd header");
+            printf("Detected RMID file");
+            printf("Looking for MThd header");
             char dummy[17];
             rb->read(file, &dummy, 16);
             if(readID(file) != ID_MTHD)
@@ -88,7 +88,7 @@
 
     int track=0;
 
-    printf("\nFile has %d tracks.", mfload->numTracks);
+    printf("File has %d tracks.", mfload->numTracks);
 
     while(! eof(file) && track < mfload->numTracks)
     {
@@ -99,7 +99,7 @@
         {
             if(mfload->numTracks != track)
             {
-                printf("\nError: file claims to have %d tracks.\n I only see %d here.\n",     mfload->numTracks, track);
+                printf("Error: file claims to have %d tracks. I only see %d here.",     mfload->numTracks, track);
                 mfload->numTracks = track;
             }
             return mfload;
@@ -111,7 +111,7 @@
             track++;
         } else
         {
-            printf("\n SKIPPING TRACK");
+            printf("SKIPPING TRACK");
             int len = readFourBytes(file);
             while(--len)
                 readChar(file);
@@ -223,7 +223,7 @@
     {
         if(trackSize < dataPtr-trk->dataBlock)
         {
-            printf("\nTrack parser memory out of bounds");
+            printf("Track parser memory out of bounds");
             exit(1);
         }
         dataPtr+=sizeof(struct Event);
@@ -245,7 +245,7 @@
         id[a]=readChar(file);
     if(eof(file))
     {
-        printf("\nEnd of file reached.");
+        printf("End of file reached.");
         return ID_EOF;
     }
     if(rb->strcmp(id, "MThd")==0)
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index aa3a0cc..5149104 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -160,13 +160,13 @@
 
     if (size + 4 > totalSize)
     {
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
-        printf("\nMALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
+        printf("MALLOC BARF");
         /* We've made our point. */
 
         return NULL;
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index d56bd26..68c29f3 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -230,7 +230,7 @@
         if(drumSet[note]!=NULL)
         {
                     if(note<35)
-                printf("\nNOTE LESS THAN 35, AND A DRUM PATCH EXISTS FOR THIS? WHAT THE HELL?");
+                printf("NOTE LESS THAN 35, AND A DRUM PATCH EXISTS FOR THIS? WHAT THE HELL?");
 
             struct GWaveform * wf = drumSet[note]->waveforms[0];
             voices[a].wf=wf;
@@ -328,7 +328,7 @@
         struct Track * tr = mf->tracks[a];
 
         if(tr == NULL)
-            printf("\nNULL TRACK: %d", a);
+            printf("NULL TRACK: %d", a);
 
 
         //BIG DEBUG STATEMENT
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c
index 5a7a02f..6ec229b 100644
--- a/apps/plugins/midi/synth.c
+++ b/apps/plugins/midi/synth.c
@@ -91,7 +91,7 @@
 
         if(mf->tracks[a] == NULL)
         {
-            printf("\nNULL TRACK !!!");
+            printf("NULL TRACK !!!");
             rb->splash(HZ*2, "Null Track in loader.");
             return -1;
         }
@@ -110,10 +110,10 @@
     int file = rb->open(filename, O_RDONLY);
     if(file < 0)
     {
-        printf("\n");
-        printf("\nNo MIDI patchset found.");
-        printf("\nPlease install the instruments.");
-        printf("\nSee Rockbox page for more info.");
+        printf("");
+        printf("No MIDI patchset found.");
+        printf("Please install the instruments.");
+        printf("See Rockbox page for more info.");
 
         rb->splash(HZ*2, "No Instruments");
         return -1;
@@ -125,7 +125,7 @@
     /* Scan our config file and load the right patches as needed    */
     int c = 0;
     name[0] = '\0';
-    printf("\nLoading instruments");
+    printf("Loading instruments");
     for(a=0; a<128; a++)
     {
         while(readChar(file)!=' ' && !eof(file));
@@ -157,7 +157,7 @@
     /* Scan our config file and load the drum data  */
     int idx=0;
     char number[30];
-    printf("\nLoading drums");
+    printf("Loading drums");
     while(!eof(file))
     {
         readTextBlock(file, number);
@@ -195,12 +195,12 @@
 
     if(so->wf==NULL)
     {
-        printf("\nCrap... null waveform...");
+        printf("Crap... null waveform...");
         exit(1);
     }
     if(so->wf->envRate==NULL)
     {
-        printf("\nWaveform has no envelope set");
+        printf("Waveform has no envelope set");
         exit(1);
     }
 
diff --git a/apps/plugins/midiplay.c b/apps/plugins/midiplay.c
index 1e3a62b..8d8b783 100644
--- a/apps/plugins/midiplay.c
+++ b/apps/plugins/midiplay.c
@@ -133,7 +133,7 @@
     rb->cpu_boost(true);
 #endif
 
-    printf("\n%s", parameter);
+    printf("%s", parameter);
     /*   rb->splash(HZ, true, parameter); */
 
 #ifdef RB_PROFILE
@@ -218,12 +218,12 @@
 {
     int notesUsed = 0;
     int a=0;
-    printf("\nLoading file");
+    printf("Loading file");
     mf= loadFile(filename);
 
     if(mf == NULL)
     {
-        printf("\nError loading file.");
+        printf("Error loading file.");
         return -1;
     }
 
@@ -245,7 +245,7 @@
         * This seems to work quite well. On a laptop, anyway.
         */
 
-    printf("\nOkay, starting sequencing");
+    printf("Okay, starting sequencing");
 
     bpm=mf->div*1000000/tempo;
     numberOfSamples=SAMPLE_RATE/bpm;