summaryrefslogtreecommitdiffstats
path: root/src/node-context.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-01-05 13:46:30 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-01-05 13:46:30 +0000
commit9cb142e8a749d329a7978ddd1cb43d68cf38920b (patch)
tree3f3abbc18730c8139bf5e484a78a7cf0f2b7e9bd /src/node-context.h
parentport the fix from sp-text.cpp rev 11260 to fix bug 1628173 (diff)
downloadinkscape-9cb142e8a749d329a7978ddd1cb43d68cf38920b.tar.gz
inkscape-9cb142e8a749d329a7978ddd1cb43d68cf38920b.zip
robustize remembering the dragged segment - store node number, not pointer; fixes crash 1505549
(bzr r2134)
Diffstat (limited to 'src/node-context.h')
-rw-r--r--src/node-context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node-context.h b/src/node-context.h
index d5067a66a..fae95cf43 100644
--- a/src/node-context.h
+++ b/src/node-context.h
@@ -51,7 +51,7 @@ struct SPNodeContext {
Inkscape::MessageContext *_node_message_context;
double grab_t;
- Inkscape::NodePath::Node * grab_node;
+ int grab_node; // number of node grabbed by sp_node_context_is_over_stroke
bool hit;
NR::Point curvepoint_event; // int coords from event
NR::Point curvepoint_doc; // same, in doc coords