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



commit d30c390f90633c0fc0cba54748eaebe51f8c6baa
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 475edc4..704e8ab 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -3519,7 +3519,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]