[gimp] app: forgot to check for "color_differs" for breaking out of a loop



commit 68b380fa4e1bc07a7e23cf73d1cdadf182d1e5b4
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 2 19:51:49 2010 +0200

    app: forgot to check for "color_differs" for breaking out of a loop
    
    Shouldn't change anything, just be slightly faster in some cases.

 app/widgets/gimptextstyleeditor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptextstyleeditor.c b/app/widgets/gimptextstyleeditor.c
index e6fb863..0b74d8f 100644
--- a/app/widgets/gimptextstyleeditor.c
+++ b/app/widgets/gimptextstyleeditor.c
@@ -948,6 +948,7 @@ gimp_text_style_editor_update_idle (GimpTextStyleEditor *editor)
             }
 
           if (! any_toggle_active &&
+              color_differs       &&
               font_differs        &&
               size_differs        &&
               baseline_differs    &&



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