strdup->strdupa in wp2

SVN revision: 83146
This commit is contained in:
Mike Blumenkrantz 2013-01-23 10:14:09 +00:00
parent 8d018a4375
commit 597cc91a38
1 changed files with 1 additions and 2 deletions

View File

@ -705,12 +705,11 @@ _pan_sel(Evas_Object *obj, Item *it)
if (p)
{
p++;
name = strdup(p);
name = strdupa(p);
p = strrchr(name, '.');
if (p) *p = 0;
}
edje_object_part_text_set(sd->info->bg, "e.text.filename", name);
free(name);
}
else
{