summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fd5c72)
raw | patch | inline | side by side (parent: 4fd5c72)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Jul 2008 19:31:52 +0000 (19:31 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Jul 2008 19:31:52 +0000 (19:31 +0000) |
src/dyna-draw-context.cpp | patch | blob | history | |
src/eraser-context.cpp | patch | blob | history |
index eb54ce5fe395c7f7993218f1d055843267864400..e90a6143cf79e431d1899f7836729b8503c740c8 100644 (file)
#endif
/* Current calligraphic */
- if ( dc->cal1->get_length() == 0 || dc->cal2->get_length() == 0 ) {
+ if ( dc->cal1->is_empty() || dc->cal2->is_empty() ) {
/* dc->npoints > 0 */
/* g_print("calligraphics(1|2) reset\n"); */
dc->cal1->reset();
diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp
index 8c542ebd3c4dcbacea5db2951e0e2a39f7478267..49f86b03cdba897982f31e09e33496e142121faf 100644 (file)
--- a/src/eraser-context.cpp
+++ b/src/eraser-context.cpp
#endif
/* Current eraser */
- if ( dc->cal1->get_length() == 0 || dc->cal2->get_length() == 0 ) {
+ if ( dc->cal1->is_empty() || dc->cal2->is_empty() ) {
/* dc->npoints > 0 */
/* g_print("erasers(1|2) reset\n"); */
dc->cal1->reset();