diff options
| author | Karl Cheng <qantas94heavy@gmail.com> | 2019-02-19 11:11:31 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-02-19 23:47:52 +0000 |
| commit | ebfa46cf0116cd4e5151611fad5f2ba66ae90a29 (patch) | |
| tree | 2a6f5161d812b36b1fc1e6b3247fa6fafde619cc /src/ui/dialog/attrdialog.cpp | |
| parent | Fix window positioning in Linux odf LPEDialog (diff) | |
| download | inkscape-ebfa46cf0116cd4e5151611fad5f2ba66ae90a29.tar.gz inkscape-ebfa46cf0116cd4e5151611fad5f2ba66ae90a29.zip | |
Fix incorrect string literal comparisons
Diffstat (limited to 'src/ui/dialog/attrdialog.cpp')
| -rw-r--r-- | src/ui/dialog/attrdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
