diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-05-02 01:47:39 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2015-05-02 01:47:39 +0000 |
| commit | 280053e5ddfcdf158f62d2d6a72681b3092d2168 (patch) | |
| tree | cac1af19e44cee72053ad5b91829596eee4a03a9 /src/sp-object.cpp | |
| parent | fixed selection after ungroup (diff) | |
| download | inkscape-280053e5ddfcdf158f62d2d6a72681b3092d2168.tar.gz inkscape-280053e5ddfcdf158f62d2d6a72681b3092d2168.zip | |
Fixed comparison function used in sorts
(bzr r14085)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index d4b8a15c0..0bb8c240f 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -357,6 +357,10 @@ int sp_object_compare_position(SPObject const *first, SPObject const *second) return result; } +bool sp_object_compare_position_bool(SPObject const *first, SPObject const *second){ + return sp_object_compare_position(first,second)<0; +} + SPObject *SPObject::appendChildRepr(Inkscape::XML::Node *repr) { if ( !cloned ) { |
