efreet: benefit from stringshare

SVN revision: 47595
This commit is contained in:
Sebastian Dransfeld 2010-03-30 12:21:55 +00:00
parent c2db2c4258
commit a44f87390d
1 changed files with 2 additions and 1 deletions

View File

@ -3965,7 +3965,8 @@ static int
efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old)
{
if (!move->old_name || !old) return 1;
return strcmp(move->old_name, old);
if (move->old_name == old) return 0;
return 1;
}
static int