Fix several pointer-bool-conversion warnings that could cause cores
This commit is contained in:
@@ -2505,7 +2505,7 @@ ChangeTitle(void)
|
||||
sprintf(dialogTitle, "%s - ", name);
|
||||
}
|
||||
|
||||
if (last_fname && *last_fname)
|
||||
if (*last_fname)
|
||||
{
|
||||
if (name = strrchr(last_fname, '/'))
|
||||
name++;
|
||||
|
||||
Reference in New Issue
Block a user