From 65d50de5b7b0e6bffbf62487601a7af82172df49 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 23 Mar 2008 12:15:52 +0000 Subject: Oops - correctly reset the bmp filenames git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16762 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gui/wps_parser.c') diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index a791440d0e..eb4b1087e3 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c @@ -1483,7 +1483,7 @@ bool wps_data_load(struct wps_data *wps_data, #ifdef HAVE_LCD_BITMAP /* Set all filename pointers to NULL */ - memset(bmp_names, sizeof(bmp_names), 0); + memset(bmp_names, 0, sizeof(bmp_names)); #endif /* Skip leading UTF-8 BOM, if present. */ -- cgit v1.2.3