diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-01 18:09:46 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-01 18:09:46 +0000 |
| commit | 5a701624dae54b64008a126de7ecec7f66bce675 (patch) | |
| tree | 718909fdb45429b8aed458f758b94091d3007275 /src/ui | |
| parent | German translation (diff) | |
| download | inkscape-5a701624dae54b64008a126de7ecec7f66bce675.tar.gz inkscape-5a701624dae54b64008a126de7ecec7f66bce675.zip | |
Minor style fixes
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/widget/font-variants.cpp | 4 | ||||
| -rw-r--r-- | src/ui/widget/ink-color-wheel.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp index 8f99bd74c..a8ff3893f 100644 --- a/src/ui/widget/font-variants.cpp +++ b/src/ui/widget/font-variants.cpp @@ -1046,7 +1046,7 @@ namespace Widget { for (auto table: res->openTypeTables) { if (table.first == "case" || table.first == "hist" || - table.first[0] == 's' && table.first[1] == 's' && !(table.first[2] == 't')) { + (table.first[0] == 's' && table.first[1] == 's' && !(table.first[2] == 't'))) { if( (it = table_copy.find(table.first)) != table_copy.end() ) table_copy.erase( it ); @@ -1063,7 +1063,7 @@ namespace Widget { table.first == "cwsh" || table.first == "ornm" || table.first == "nalt" || - table.first[0] == 'c' && table.first[1] == 'v') { + (table.first[0] == 'c' && table.first[1] == 'v')) { if (table.second.input.length() == 0) { // This can happen if a table is not in the 'DFLT' script and 'dflt' language. diff --git a/src/ui/widget/ink-color-wheel.cpp b/src/ui/widget/ink-color-wheel.cpp index db3890548..cc2c8f688 100644 --- a/src/ui/widget/ink-color-wheel.cpp +++ b/src/ui/widget/ink-color-wheel.cpp @@ -528,7 +528,7 @@ ColorWheel::on_button_press_event(GdkEventButton* event) bool ColorWheel::on_button_release_event(GdkEventButton* event) { - _mode == DRAG_NONE; + _mode = DRAG_NONE; return true; } |
