summaryrefslogtreecommitdiff
path: root/src/generic/evas/pdf/main.cpp
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-08-09 08:20:23 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-08-09 08:20:23 +0100
commit0a3a28525c3e9381069fcbe9d20577b35bb2ee72 (patch)
treecda5e7414166079ad95aa4606cdc18868e042289 /src/generic/evas/pdf/main.cpp
parentabd6947e8bbb48575fd2446916b76fcda254511f (diff)
pdf loader - also handle non-small letter extns
Diffstat (limited to '')
-rw-r--r--src/generic/evas/pdf/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/evas/pdf/main.cpp b/src/generic/evas/pdf/main.cpp
index 5c70bfef21..933bae5dd5 100644
--- a/src/generic/evas/pdf/main.cpp
+++ b/src/generic/evas/pdf/main.cpp
@@ -283,7 +283,7 @@ main(int argc, char **argv)
283 // This is a funny hack to call an external tool to generate a pdf that will then be processed by poppler 283 // This is a funny hack to call an external tool to generate a pdf that will then be processed by poppler
284 extension = strrchr(file, '.'); 284 extension = strrchr(file, '.');
285 dir = dirname(argv[0]); 285 dir = dirname(argv[0]);
286 if (extension && dir && strcmp(extension, ".pdf")) 286 if (extension && dir && (!(!strcasecmp(extension, ".pdf"))))
287 { 287 {
288#ifndef _WIN32 288#ifndef _WIN32
289 signal(SIGSEGV, _crash); 289 signal(SIGSEGV, _crash);