From 136a8737897b8340def4bb09a85d12824d9b50bd Mon Sep 17 00:00:00 2001 From: su_v Date: Tue, 25 Sep 2012 22:34:14 +0200 Subject: revert changes not strictly required for EMF support (bzr r11668.1.12) --- src/style.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index ab8b646aa..616474298 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -1236,9 +1236,7 @@ sp_style_merge_property(SPStyle *style, gint id, gchar const *val) case SP_PROP_COLOR_INTERPOLATION_FILTERS: // We read it but issue warning SPS_READ_IENUM_IF_UNSET(&style->color_interpolation_filters, val, enum_color_interpolation, true); - static bool blab=true; // eliminate annoying repeated messages to console - if( blab && style->color_interpolation_filters.value != SP_CSS_COLOR_INTERPOLATION_SRGB ) { - blab = false; + if( style->color_interpolation_filters.value != SP_CSS_COLOR_INTERPOLATION_SRGB ) { g_warning("Inkscape currently only supports color-interpolation-filters = sRGB"); } break; -- cgit v1.2.3