summaryrefslogtreecommitdiff
path: root/plugins/imgpng/src/imgpng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imgpng/src/imgpng.cpp')
-rw-r--r--plugins/imgpng/src/imgpng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imgpng/src/imgpng.cpp b/plugins/imgpng/src/imgpng.cpp
index b7826e5..ae2abd4 100644
--- a/plugins/imgpng/src/imgpng.cpp
+++ b/plugins/imgpng/src/imgpng.cpp
@@ -95,7 +95,7 @@ PngScreen::readPngData (png_struct *png,
png_set_gray_1_2_4_to_8 (png);
/* transform transparency to alpha */
- if (png_get_valid(png, info, PNG_INFO_tRNS))
+ if (png_get_valid (png, info, PNG_INFO_tRNS))
png_set_tRNS_to_alpha (png);
if (depth == 16)