forked from enlightenment/efl
parent
1406d86f53
commit
1d9ef01856
|
@ -858,7 +858,7 @@ _format_command(Evas_Object *obj, Evas_Object_Textblock_Format *fmt, char *cmd,
|
||||||
{
|
{
|
||||||
char *ts, *p;
|
char *ts, *p;
|
||||||
|
|
||||||
ts = alloca(strlen(param));
|
ts = alloca(strlen(param) + 1);
|
||||||
strcpy(ts, param);
|
strcpy(ts, param);
|
||||||
p = strchr(ts, '%');
|
p = strchr(ts, '%');
|
||||||
*p = 0;
|
*p = 0;
|
||||||
|
@ -885,7 +885,7 @@ _format_command(Evas_Object *obj, Evas_Object_Textblock_Format *fmt, char *cmd,
|
||||||
{
|
{
|
||||||
char *ts, *p;
|
char *ts, *p;
|
||||||
|
|
||||||
ts = alloca(strlen(param));
|
ts = alloca(strlen(param) + 1);
|
||||||
strcpy(ts, param);
|
strcpy(ts, param);
|
||||||
p = strchr(ts, '%');
|
p = strchr(ts, '%');
|
||||||
*p = 0;
|
*p = 0;
|
||||||
|
|
Loading…
Reference in New Issue