raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0a3a28525c3e9381069fcbe9d20577b35bb2ee72

commit 0a3a28525c3e9381069fcbe9d20577b35bb2ee72
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Mon Aug 9 08:20:23 2021 +0100

    pdf loader - also handle non-small letter extns
---
 src/generic/evas/pdf/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
    // This is a funny hack to call an external tool to generate a pdf that 
will then be processed by poppler
    extension = strrchr(file, '.');
    dir = dirname(argv[0]);
-   if (extension && dir && strcmp(extension, ".pdf"))
+   if (extension && dir && (!(!strcasecmp(extension, ".pdf"))))
      {
 #ifndef _WIN32
         signal(SIGSEGV, _crash);

-- 


Reply via email to