diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2013-04-29 00:51:29 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2013-04-29 00:51:29 +0000 |
| commit | c317c1f79519f0ee961842ffb9feac4494af5377 (patch) | |
| tree | 28187bf8ccee447689430f1c0243700e0565e958 /src/text-context.cpp | |
| parent | Temporily fix abiguous macros before later removal. (diff) | |
| download | inkscape-c317c1f79519f0ee961842ffb9feac4494af5377.tar.gz inkscape-c317c1f79519f0ee961842ffb9feac4494af5377.zip | |
Fixed logic error confusing bitwise and with logical and.
Whitespace cleanup to make the issue easier to spot.
(bzr r12311)
Diffstat (limited to 'src/text-context.cpp')
| -rw-r--r-- | src/text-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp index 80f568830..d137b673d 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -219,7 +219,7 @@ static void sp_text_context_setup(SPEventContext *ec) ec->shape_editor = new ShapeEditor(ec->desktop); SPItem *item = sp_desktop_selection(ec->desktop)->singleItem(); - if (item && SP_IS_FLOWTEXT (item) && SP_FLOWTEXT(item)->has_internal_frame()) { + if (item && SP_IS_FLOWTEXT(item) && SP_FLOWTEXT(item)->has_internal_frame()) { ec->shape_editor->set_item(item, SH_KNOTHOLDER); } @@ -1453,7 +1453,7 @@ sp_text_context_selection_changed(Inkscape::Selection *selection, SPTextContext ec->shape_editor->unset_item(SH_KNOTHOLDER); SPItem *item = selection->singleItem(); - if (item && SP_IS_FLOWTEXT (item) && SP_FLOWTEXT(item)->has_internal_frame()) { + if (item && SP_IS_FLOWTEXT(item) && SP_FLOWTEXT(item)->has_internal_frame()) { ec->shape_editor->set_item(item, SH_KNOTHOLDER); } |
