fix some precedence errors
Spotted by Andrey Karpov using static code analysis: http://www.viva64.com/en/b/0273/
This commit is contained in:
@ -895,7 +895,7 @@ script_fu_menu_map (const gchar *menu_path)
|
||||
{
|
||||
const gchar *suffix = menu_path + strlen (mapping[i].old);
|
||||
|
||||
if (! *suffix == '/')
|
||||
if (*suffix != '/')
|
||||
continue;
|
||||
|
||||
return g_strconcat (mapping[i].new, suffix, NULL);
|
||||
|
||||
Reference in New Issue
Block a user