[nemiver] Fix breakpoint setting



commit ad4bad037870c2ba710e8d27b1817d6d5c61b381
Author: Dodji Seketeli <dodji gnome org>
Date:   Sun Sep 12 19:55:03 2010 +0200

    Fix breakpoint setting
    
    	* src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
    	(SetBreakpointDialog::Priv::get_file_path_and_line_num): Don't set
    	mistakenly take the line number for the file path

 .../dbgperspective/nmv-set-breakpoint-dialog.cc    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
index 1aeac7d..82d0927 100644
--- a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
+++ b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
@@ -209,7 +209,7 @@ public:
             // and line from entry_line.
             if (!entry_filename->get_text ().empty ()
                 && atoi (entry_line->get_text ().c_str ())) {
-                a_path = entry_line->get_text ();
+                a_path = entry_filename->get_text ();
                 a_line_num = entry_line->get_text ().raw ();
                 return true;
             }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]