summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-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 9a4b25bffd..fd460e50e0 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -1310,7 +1310,7 @@ static void viewer_save_settings(void)/* same name as global, but not the same f
1310 b.top_ptr_pos = 0; /* this is only kept for legassy reasons */ 1310 b.top_ptr_pos = 0; /* this is only kept for legassy reasons */
1311 rb->memset(&b.filename[0],0,MAX_PATH); 1311 rb->memset(&b.filename[0],0,MAX_PATH);
1312 rb->strcpy(b.filename,file_name); 1312 rb->strcpy(b.filename,file_name);
1313 rb->PREFIX(lseek)(settings_fd,sizeof(signed int),SEEK_SET); 1313 rb->lseek(settings_fd,sizeof(signed int),SEEK_SET);
1314 rb->write (settings_fd, &b, sizeof(struct bookmarked_file_info)); 1314 rb->write (settings_fd, &b, sizeof(struct bookmarked_file_info));
1315 rb->close(settings_fd); 1315 rb->close(settings_fd);
1316 } 1316 }