forked from enlightenment/efl
parent
3a0af1226e
commit
ef970dfb10
|
@ -1589,10 +1589,8 @@ st_collections_group_max(void)
|
|||
static void
|
||||
ob_collections_group_script(void)
|
||||
{
|
||||
Edje_Part_Collection *pc;
|
||||
Code *cd;
|
||||
|
||||
pc = eina_list_data_get(eina_list_last(edje_collections));
|
||||
cd = eina_list_data_get(eina_list_last(codes));
|
||||
|
||||
if (!is_verbatim()) track_verbatim(1);
|
||||
|
@ -1621,10 +1619,8 @@ ob_collections_group_script(void)
|
|||
static void
|
||||
ob_collections_group_lua_script(void)
|
||||
{
|
||||
Edje_Part_Collection *pc;
|
||||
Code *cd;
|
||||
|
||||
pc = eina_list_data_get(eina_list_last(edje_collections));
|
||||
cd = eina_list_data_get(eina_list_last(codes));
|
||||
|
||||
if (!is_verbatim()) track_verbatim(1);
|
||||
|
|
|
@ -547,7 +547,6 @@ data_write_images(Eet_File *ef, int *image_num, int *input_bytes, int *input_raw
|
|||
int mode, qual;
|
||||
|
||||
snprintf(buf, sizeof(buf), "images/%i", img->id);
|
||||
mode = 2;
|
||||
qual = 80;
|
||||
if ((img->source_type == EDJE_IMAGE_SOURCE_TYPE_INLINE_PERFECT) &&
|
||||
(img->source_param == 0))
|
||||
|
@ -827,7 +826,6 @@ compile_script_file(Eet_File *ef, const char *source, const char *output,
|
|||
|
||||
if (size > 0)
|
||||
{
|
||||
int bt;
|
||||
void *data = malloc(size);
|
||||
|
||||
if (data)
|
||||
|
@ -837,7 +835,7 @@ compile_script_file(Eet_File *ef, const char *source, const char *output,
|
|||
"\"%s\"\n", output);
|
||||
|
||||
snprintf(buf, sizeof(buf), "scripts/%i", script_num);
|
||||
bt = eet_write(ef, buf, data, size, 1);
|
||||
eet_write(ef, buf, data, size, 1);
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -805,7 +805,6 @@ int
|
|||
is_num(int n)
|
||||
{
|
||||
char *str;
|
||||
long int ret;
|
||||
char *end;
|
||||
|
||||
str = eina_list_nth(params, n);
|
||||
|
@ -817,7 +816,7 @@ is_num(int n)
|
|||
}
|
||||
if (str[0] == 0) return 0;
|
||||
end = str;
|
||||
ret = strtol(str, &end, 0);
|
||||
strtol(str, &end, 0);
|
||||
if ((end != str) && (end[0] == 0)) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
@ -860,7 +859,7 @@ _parse_enum(char *str, va_list va)
|
|||
s = va_arg(va2, char *);
|
||||
while (s)
|
||||
{
|
||||
v = va_arg(va2, int);
|
||||
va_arg(va2, int);
|
||||
fprintf(stderr, " %s", s);
|
||||
s = va_arg(va2, char *);
|
||||
if (!s) break;
|
||||
|
|
Loading…
Reference in New Issue