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