From 852cf58f365f75c05ef7a785f6c0af0f8dca7b1f Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Mon, 19 Nov 2007 21:14:42 +0000 Subject: [PATCH] access memcpy through the plugin api.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15702 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index a838685df5..a517e93873 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -1096,7 +1096,7 @@ static void viewer_load_settings(void) /* same name as global, but not the same rb->close(settings_fd); } - memcpy(&old_prefs, &prefs, sizeof(struct preferences)); + rb->memcpy(&old_prefs, &prefs, sizeof(struct preferences)); data = (struct bookmark_file_data*)buffer; /* grab the text buffer */ data->bookmarked_files_count = 0;