inkscape/inkscape-siox-max.patch

12 lines
247 B
Diff

--- src/trace/siox.cpp
+++ src/trace/siox.cpp
@@ -1632,7 +1632,7 @@
{
float max= -1000000.0f;
for (int i=0; i<cmSize; i++)
- if (max<cm[i] > max)
+ if (cm[i] > max)
max=cm[i];
if (max<=0.0 || max==1.0)