summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 029cc1e)
raw | patch | inline | side by side (parent: 029cc1e)
author | pjrm <pjrm@users.sourceforge.net> | |
Thu, 24 Apr 2008 03:05:56 +0000 (03:05 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Thu, 24 Apr 2008 03:05:56 +0000 (03:05 +0000) |
src/live_effects/lpe-test-doEffect-stack.cpp | patch | blob | history | |
src/sp-lpe-item.cpp | patch | blob | history |
diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp
index cafe693b74210dc0882c9f81733c0c7f31196aee..3aa1436322967a3aaa2b1929d36686f5145eef82 100644 (file)
#include <2geom/piecewise.h>
#include <vector>
#include <libnr/n-art-bpath.h>
+#include <cstring>
+using std::memcpy;
namespace Inkscape {
namespace LivePathEffect {
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 78055eb9cb99b18e5d40bd237bab8e52dd4fb3a2..eaf92704c4aaa856e5a2f64c8d43494a709c4309 100644 (file)
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
#include "sp-path.h"
#include "sp-item-group.h"
+#include "streq.h"
#include "macros.h"
#include "attributes.h"
#include "sp-lpe-item.h"
switch (key) {
case SP_ATTR_INKSCAPE_PATH_EFFECT:
if ( value && lpeitem->path_effect_ref->lpeobject_href
- && ( strcmp(value, lpeitem->path_effect_ref->lpeobject_href) == 0 ) ) {
+ && streq(value, lpeitem->path_effect_ref->lpeobject_href) ) {
/* No change, do nothing. */
} else {
if (value) {