Revision: 2333 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2333&view=re... Author: frlan Date: 2011-11-12 13:12:24 +0000 (Sat, 12 Nov 2011) Log Message: ----------- GeanyVC: Fix a small issue with not position into correct line running a blame
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c =================================================================== --- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 12:28:24 UTC (rev 2332) +++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 13:12:24 UTC (rev 2333) @@ -389,11 +389,9 @@ if (doc == NULL) { doc = document_new_file(name, ftype, std_output); - if (line == 0) - { - line = 1; - } - + /* To due the given line is Scintilla's line number, but + * we need the view line number in this case. */ + line = line + 1; } else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org