summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midi/midiutil.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-12-13 04:43:27 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-12-13 04:43:27 +0000
commit42ba55fba337e7e3c70109f5cc4b15590ebfb0ab (patch)
treea785eef049019ca255c00c13b43f8861981cf0b0 /apps/plugins/midi/midiutil.c
parent36da28bbc7da550b61bac22fd5db7348142d72f3 (diff)
downloadrockbox-42ba55fba337e7e3c70109f5cc4b15590ebfb0ab.tar.gz
rockbox-42ba55fba337e7e3c70109f5cc4b15590ebfb0ab.tar.bz2
rockbox-42ba55fba337e7e3c70109f5cc4b15590ebfb0ab.zip
Make the midiplugin's out of memory error more obvious to people who don't know what malloc is.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28822 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/midiutil.c')
-rw-r--r--apps/plugins/midi/midiutil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index ab90e15c51..e10c593dc1 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -54,8 +54,7 @@ void *alloc(int size)
if (size + 4 > (int)totalSize)
{
- midi_debug("MALLOC BARF");
- midi_debug("MALLOC BARF");
+ midi_debug("Out of Memory");
midi_debug("MALLOC BARF");
midi_debug("MALLOC BARF");
midi_debug("MALLOC BARF");