summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bad59b4)
raw | patch | inline | side by side (parent: bad59b4)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 7 Apr 2008 00:52:02 +0000 (00:52 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 7 Apr 2008 00:52:02 +0000 (00:52 +0000) |
src/sp-rect.cpp | patch | blob | history |
diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp
index 55d2a3fde3b1fb14fff46d1e8446552f75ccb86e..2428af12e6632b0f995b524f84e64458477f2d3f 100644 (file)
--- a/src/sp-rect.cpp
+++ b/src/sp-rect.cpp
{
SPRect *rect = (SPRect *) shape;
- if ((rect->height.computed < 1e-18) || (rect->width.computed < 1e-18)) {
+ if ((rect->height.computed < 1e-18) && (rect->width.computed < 1e-18)) {
sp_shape_set_curve_insync(SP_SHAPE(rect), NULL, TRUE);
return;
}