diff src/gui.c @ 2178:c6f1aa1e9f32 vim73

Add 'relativenumber' patch from Markus Heidelberg.
author Bram Moolenaar <bram@vim.org>
date Sun, 16 May 2010 15:46:46 +0200
parents 9b78bb3794ba
children 495995b9ce7d
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -4412,7 +4412,7 @@ gui_update_horiz_scrollbar(force)
 	max += W_WIDTH(curwin) - 1;
 #endif
 	/* The line number isn't scrolled, thus there is less space when
-	 * 'number' is set (also for 'foldcolumn'). */
+	 * 'number' or 'relativenumber' is set (also for 'foldcolumn'). */
 	size -= curwin_col_off();
 #ifndef SCROLL_PAST_END
 	max -= curwin_col_off();