[nemiver/better-variable-format: 9/9] Fix breakpoint setting



commit fb7a77ba67efb7a5bb9257345cb08a66af14ea45
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]