Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > ebea501d04bf180b781d727bbbb57b40 > files > 6

swftools-0.9.2-16.mga9.src.rpm

Index: swftools-0.9.2/lib/pdf/xpdf/GlobalParams.cc
===================================================================
--- swftools-0.9.2/lib/pdf/xpdf/GlobalParams.cc
+++ swftools-0.9.2/lib/pdf/xpdf/GlobalParams.cc	2022-11-04 20:16:52.447306205 -0700
@@ -922,9 +922,9 @@
     char* p = pos1>pos2?pos1:pos2;
     int pos = p ? p-cfgFileName : -1;
     GString*path = new GString(new GString(cfgFileName), 0, (pos < 0 ? strlen(cfgFileName): pos));
-    if(pos1>=0)
+    if(pos1)
 	path->append('/');
-    else if(pos2>=0)
+    else if(pos2)
 	path->append('\\');
     else
 #ifdef WIN32