allow more formats

main
n0emis 4 years ago
parent 2bf3f667ce
commit e91cae918b
Signed by: n0emis
GPG Key ID: 00FAF748B777CF10

@ -27,7 +27,7 @@ load2(ImlibImage * im, int load_data)
q = p;
p = s + 1;
}
if (!q || strcasecmp(p, "pgp"))
if (!q)
return 0;
if (!(real_ext = strndup(q, p - q - 1)))
@ -63,7 +63,7 @@ load2(ImlibImage * im, int load_data)
void
formats(ImlibLoader * l)
{
static const char *const list_formats[] = { "pgp" };
static const char *const list_formats[] = { "pgp" , "gpg", "asc"};
__imlib_LoaderSetFormats(l, list_formats,
sizeof(list_formats) / sizeof(char *));
}

Loading…
Cancel
Save