forked from enlightenment/efl
pdf loader - also handle non-small letter extns
This commit is contained in:
parent
abd6947e8b
commit
0a3a28525c
|
@ -283,7 +283,7 @@ main(int argc, char **argv)
|
||||||
// This is a funny hack to call an external tool to generate a pdf that will then be processed by poppler
|
// This is a funny hack to call an external tool to generate a pdf that will then be processed by poppler
|
||||||
extension = strrchr(file, '.');
|
extension = strrchr(file, '.');
|
||||||
dir = dirname(argv[0]);
|
dir = dirname(argv[0]);
|
||||||
if (extension && dir && strcmp(extension, ".pdf"))
|
if (extension && dir && (!(!strcasecmp(extension, ".pdf"))))
|
||||||
{
|
{
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
signal(SIGSEGV, _crash);
|
signal(SIGSEGV, _crash);
|
||||||
|
|
Loading…
Reference in New Issue