(GX) error checking fix

This commit is contained in:
ToadKing 2013-04-29 08:27:16 -04:00
parent e15ba44c50
commit 455167ec19

View File

@ -51,7 +51,7 @@ static void dol_copy_argv_path(const char *fullpath)
#ifndef IS_SALAMANDER
// file must be split into two parts, the path and the actual filename
// done to be compatible with loaders
if (fullpath && strchr(fullpath, '/') != (char *)-1)
if (fullpath && strchr(fullpath, '/') != NULL)
{
char tmp[PATH_MAX];