summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/searchengine.c
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-04-29 23:20:41 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-04-29 23:20:41 +0000
commitf5f8c05a31b43b6b0368d5c1a0af360e5cbee465 (patch)
tree273528698ca8c86ff0bf4b27c44fbf5d5dfbcf9a /apps/plugins/searchengine/searchengine.c
parent6ca95008116ca20bad11f54c45e833410a532f68 (diff)
*whistles*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/searchengine/searchengine.c')
-rw-r--r--apps/plugins/searchengine/searchengine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/searchengine.c b/apps/plugins/searchengine/searchengine.c
index 6459a59230..112300c506 100644
--- a/apps/plugins/searchengine/searchengine.c
+++ b/apps/plugins/searchengine/searchengine.c
@@ -37,6 +37,7 @@ void *my_malloc(size_t size)
= rb->plugin_get_audio_buffer(&audio_buffer_free);
audio_bufferpointer+=3;
audio_bufferpointer&=~3;
+ audio_buffer_free-=audio_bufferpointer-audiobufferbase;
}
if (size + 4 > audio_buffer_free)
return 0;