[lasem] svg_enums: fix blending mode to string.



commit 653f78762f0edf7d379dcba8a20c74dc855a061b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed Oct 24 12:34:36 2012 +0200

    svg_enums: fix blending mode to string.

 src/lsmsvgenums.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lsmsvgenums.c b/src/lsmsvgenums.c
index b6307a7..721c031 100644
--- a/src/lsmsvgenums.c
+++ b/src/lsmsvgenums.c
@@ -41,7 +41,7 @@ static const char *lsm_svg_blending_mode_strings[] = {
 const char *
 lsm_svg_blending_mode_to_string (LsmSvgBlendingMode blending_mode)
 {
-	if (blending_mode < 0 || blending_mode > LSM_SVG_BLENDING_MODE_LIGHTEN)
+	if (blending_mode < 0 || blending_mode > LSM_SVG_BLENDING_MODE_XOR)
 		return NULL;
 
 	return lsm_svg_blending_mode_strings[blending_mode];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]