Revision: 2056 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2056&view=re... Author: frlan Date: 2011-04-24 23:43:56 +0000 (Sun, 24 Apr 2011)
Log Message: ----------- Shiftcolumn: Fix a maybe uninitialized usage of a variable.
Modified Paths: -------------- trunk/geany-plugins/shiftcolumn/ChangeLog trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c
Modified: trunk/geany-plugins/shiftcolumn/ChangeLog =================================================================== --- trunk/geany-plugins/shiftcolumn/ChangeLog 2011-04-24 23:43:16 UTC (rev 2055) +++ trunk/geany-plugins/shiftcolumn/ChangeLog 2011-04-24 23:43:56 UTC (rev 2056) @@ -1,3 +1,8 @@ +2011-04-25 Frank Lanitz frlan@frank.uvena.de + + * src/shiftcolumn.c: Fix a maybe uninitialized usage of a variable. + + 2009-03-31 Andrew L Janke a.janke@gmail.com
* src/shiftcolumn.c: Check if document is open @@ -29,5 +34,3 @@ 2009-03-09 Andrew L Janke a.janke@gmail.com
* Actually works now - -
Modified: trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c =================================================================== --- trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c 2011-04-24 23:43:16 UTC (rev 2055) +++ trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c 2011-04-24 23:43:56 UTC (rev 2056) @@ -101,6 +101,8 @@ }
startline = sci_get_line_from_position(sci, startpos); + /* Setting also start point for 1st line */ + linepos = sci_get_position_from_line(sci, startline); endline = sci_get_line_from_position(sci, endpos);
/* normal mode */ @@ -247,6 +249,7 @@ }
startline = sci_get_line_from_position(sci, startpos); + linepos = sci_get_position_from_line(sci, startline); endline = sci_get_line_from_position(sci, endpos);
/* normal mode */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org