summaryrefslogtreecommitdiff
path: root/apps/plugins/midiplay.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-21 05:35:17 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-21 05:35:17 +0000
commitb1f00493078c189ea41a846aee0aa3b9330f490c (patch)
tree81fc7be55ea6543889fc0cd7745354b5a8c88465 /apps/plugins/midiplay.c
parentc69f032df4753dbd5f848c12f41adeefa74a31a6 (diff)
downloadrockbox-b1f00493078c189ea41a846aee0aa3b9330f490c.tar.gz
rockbox-b1f00493078c189ea41a846aee0aa3b9330f490c.zip
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
Diffstat (limited to 'apps/plugins/midiplay.c')
-rw-r--r--apps/plugins/midiplay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/midiplay.c b/apps/plugins/midiplay.c
index 1e3a62b58a..8d8b7833af 100644
--- a/apps/plugins/midiplay.c
+++ b/apps/plugins/midiplay.c
@@ -133,7 +133,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
133 rb->cpu_boost(true); 133 rb->cpu_boost(true);
134#endif 134#endif
135 135
136 printf("\n%s", parameter); 136 printf("%s", parameter);
137 /* rb->splash(HZ, true, parameter); */ 137 /* rb->splash(HZ, true, parameter); */
138 138
139#ifdef RB_PROFILE 139#ifdef RB_PROFILE
@@ -218,12 +218,12 @@ int midimain(void * filename)
218{ 218{
219 int notesUsed = 0; 219 int notesUsed = 0;
220 int a=0; 220 int a=0;
221 printf("\nLoading file"); 221 printf("Loading file");
222 mf= loadFile(filename); 222 mf= loadFile(filename);
223 223
224 if(mf == NULL) 224 if(mf == NULL)
225 { 225 {
226 printf("\nError loading file."); 226 printf("Error loading file.");
227 return -1; 227 return -1;
228 } 228 }
229 229
@@ -245,7 +245,7 @@ int midimain(void * filename)
245 * This seems to work quite well. On a laptop, anyway. 245 * This seems to work quite well. On a laptop, anyway.
246 */ 246 */
247 247
248 printf("\nOkay, starting sequencing"); 248 printf("Okay, starting sequencing");
249 249
250 bpm=mf->div*1000000/tempo; 250 bpm=mf->div*1000000/tempo;
251 numberOfSamples=SAMPLE_RATE/bpm; 251 numberOfSamples=SAMPLE_RATE/bpm;