From ebfa46cf0116cd4e5151611fad5f2ba66ae90a29 Mon Sep 17 00:00:00 2001 From: Karl Cheng Date: Tue, 19 Feb 2019 22:11:31 +1100 Subject: Fix incorrect string literal comparisons --- src/ui/dialog/attrdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/dialog/attrdialog.cpp') diff --git a/src/ui/dialog/attrdialog.cpp b/src/ui/dialog/attrdialog.cpp index 4ccb037ef..a943f4b23 100644 --- a/src/ui/dialog/attrdialog.cpp +++ b/src/ui/dialog/attrdialog.cpp @@ -236,7 +236,7 @@ void AttrDialog::onAttrChanged(Inkscape::XML::Node *repr, const gchar * name, co } if (new_value) { if ((repr->type() == Inkscape::XML::TEXT_NODE || repr->type() == Inkscape::XML::COMMENT_NODE) && - name != "content") + strcmp(name, "content") != 0) { return; } else { -- cgit v1.2.3