gtksourceview r1860 - in trunk: . gtksourceview
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r1860 - in trunk: . gtksourceview
- Date: Sat, 26 Jan 2008 14:50:49 +0000 (GMT)
Author: pborelli
Date: Sat Jan 26 14:50:49 2008
New Revision: 1860
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1860&view=rev
Log:
2008-01-25 Paolo Borelli <pborelli katamail com>
* gtksourceview/gtksourceprintcompositor.c: count from 1 when deciding
which lines should have a number.
Modified:
trunk/ChangeLog
trunk/gtksourceview/gtksourceprintcompositor.c
Modified: trunk/gtksourceview/gtksourceprintcompositor.c
==============================================================================
--- trunk/gtksourceview/gtksourceprintcompositor.c (original)
+++ trunk/gtksourceview/gtksourceprintcompositor.c Sat Jan 26 14:50:49 2008
@@ -2437,7 +2437,7 @@
gint line_number)
{
return (compositor->priv->print_line_numbers > 0) &&
- (line_number % compositor->priv->print_line_numbers == 0);
+ ((line_number + 1) % compositor->priv->print_line_numbers == 0);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]