fix possible use of uninit buffer in edje_cc error output.

SVN revision: 75449
This commit is contained in:
Carsten Haitzler 2012-08-20 07:46:51 +00:00
parent 3a399b6b6a
commit 01dd698ac9
1 changed files with 1 additions and 0 deletions

View File

@ -695,6 +695,7 @@ data_thread_image(void *data, Ecore_Thread *thread __UNUSED__)
} }
else else
{ {
snprintf(buf, sizeof(buf), "edje/images/%i", iw->img->id);
snprintf(buf2, sizeof(buf2), snprintf(buf2, sizeof(buf2),
"Unable to load image part " "Unable to load image part "
"\"%s\" as \"%s\" part entry to " "\"%s\" as \"%s\" part entry to "