[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/valgrind
From:       Hamish Rodda <meddie () yoyo ! its ! monash ! edu ! au>
Date:       2003-03-10 0:21:26
[Download RAW message or body]

CVS commit by rodda: 

Fix off-by-one bug in opening the code at the correct line number.


  M +12 -12    valgrind_widget.cpp   1.4


--- kdevelop/parts/valgrind/valgrind_widget.cpp  #1.3:1.4
@@ -163,5 +163,5 @@ void ValgrindWidget::executed( QListView
   if ( vli ) {
     // display the file
-    _part->partController()->editDocument( vli->fileName(), vli->line() );
+    _part->partController()->editDocument( vli->fileName(), vli->line() - 1 );
     _part->mainWindow()->statusBar()->message( vli->message(), 10000 );
     _part->mainWindow()->lowerView( this );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic