[evolution/webkit-composer] Fix of inserting unnecessary space into class name.



commit 904b22572c11b813d7b8058ae9c9189bbaf82cff
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Sep 18 15:28:33 2013 +0200

    Fix of inserting unnecessary space into class name.

 e-util/e-web-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 8629201..c02feef 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -3532,7 +3532,7 @@ element_add_class (WebKitDOMElement *element,
 
        element_class = webkit_dom_element_get_class_name (element);
 
-       if (g_strcmp0 (element_class, ""))
+       if (g_strcmp0 (element_class, "") == 0)
                new_class = g_strdup (class);
        else
                new_class = g_strconcat (element_class, " ", class, NULL);



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