summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec124ca)
raw | patch | inline | side by side (parent: ec124ca)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 2 Jan 2008 21:40:08 +0000 (21:40 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 2 Jan 2008 21:40:08 +0000 (21:40 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 38552f7f785ee95567b27b1ce4fba0faf74ecd12..55c9ea3c7f036ff0f8d44100452be9e9f5b2de45 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -1391,7 +1391,8 @@ void sp_node_selected_move_absolute(Inkscape::NodePath::Path *nodepath, NR::Coor
*/
NR::Maybe<NR::Coord> sp_node_selected_common_coord (Inkscape::NodePath::Path *nodepath, NR::Dim2 axis)
{
- g_return_val_if_fail(nodepath->selected, NR::Nothing());
+ NR::Maybe<NR::Coord> no_coord = NR::Nothing();
+ g_return_val_if_fail(nodepath->selected, no_coord);
// determine coordinate of first selected node
GList *nsel = nodepath->selected;