Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 58441995127b05e4c088a97a5623322e > files > 3

nted-0.22.3-3mdv2009.0.src.rpm

diff -Naur noteold/mainwindow.cpp nted-0.22.3/mainwindow.cpp
--- noteold/mainwindow.cpp	2008-04-03 14:15:12.000000000 +0200
+++ nted-0.22.3/mainwindow.cpp	2008-04-07 10:03:23.000000000 +0200
@@ -6002,7 +6002,7 @@
 				command_list->addCommand(rem_displaceable);
 				rem_displaceable->execute();
 			}
-			if (main_window->m_selected_free_replaceable->getType() == FREE_PLACEABLE_LINE_POINT) {
+			else if (main_window->m_selected_free_replaceable->getType() == FREE_PLACEABLE_LINE_POINT) {
 				NedLinePoint *startp, *endp, *midp;
 				startp = ((NedLinePoint *) main_window->m_selected_free_replaceable)->getLine()->getLineStartPoint();
 				endp = ((NedLinePoint *) main_window->m_selected_free_replaceable)->getLine()->getLineEndPoint();