summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index a838685..a517e93 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;