summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-06-18 21:07:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-08 21:01:34 +0000
commit6331562fbaccb94ea36e9db08e03b8005b7499d0 (patch)
tree3d36026859bc4f7ba79a0e5e360b3f4d859e6144
parentAdding styles default (diff)
downloadinkscape-6331562fbaccb94ea36e9db08e03b8005b7499d0.tar.gz
inkscape-6331562fbaccb94ea36e9db08e03b8005b7499d0.zip
Fixing coding style
-rw-r--r--src/ui/dialog/selectorsdialog.cpp2
-rw-r--r--src/ui/dialog/styledialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/selectorsdialog.cpp b/src/ui/dialog/selectorsdialog.cpp
index 79b043520..0857f1bef 100644
--- a/src/ui/dialog/selectorsdialog.cpp
+++ b/src/ui/dialog/selectorsdialog.cpp
@@ -488,7 +488,7 @@ Inkscape::XML::Node *SelectorsDialog::_getStyleTextNode()
for (unsigned i = 0; i < root->childCount(); ++i) {
if (Glib::ustring(root->nthChild(i)->name()) == "svg:style") {
styleNode = root->nthChild(i);
- if (!first) {
+ if (!first) {
for (unsigned j = 0; j < styleNode->childCount(); ++j) {
if (styleNode->nthChild(j)->type() == Inkscape::XML::TEXT_NODE) {
textNode = styleNode->nthChild(j);
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 34f4276eb..d867bce76 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -270,7 +270,7 @@ Inkscape::XML::Node *StyleDialog::_getStyleTextNode()
for (unsigned i = 0; i < root->childCount(); ++i) {
if (Glib::ustring(root->nthChild(i)->name()) == "svg:style") {
styleNode = root->nthChild(i);
- if (!first) {
+ if (!first) {
for (unsigned j = 0; j < styleNode->childCount(); ++j) {
if (styleNode->nthChild(j)->type() == Inkscape::XML::TEXT_NODE) {
textNode = styleNode->nthChild(j);