forked from len0rd/rockbox
stop a potential crash caused by r22438
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22614 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2ab627d309
commit
f6025186fd
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile)
|
|||
* if you're feeling brave.
|
||||
*/
|
||||
|
||||
if (! strcmp(buf, DEFAULT_WPS(screen)) )
|
||||
if (buf && ! strcmp(buf, DEFAULT_WPS(screen)) )
|
||||
{
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (screen == SCREEN_REMOTE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue