Index: src/placement_finder.cpp =================================================================== --- src/placement_finder.cpp (revision 690) +++ src/placement_finder.cpp (working copy) @@ -156,7 +156,7 @@ double total_distance = get_total_distance(shape_path); shape_path.rewind(0); - if (distance == 0) //Point data, not a line + if (total_distance == 0) //Point data, not a line { double x, y; shape_path.vertex(&x,&y);