diff src/ex_docmd.c @ 4172:1c819b05529c v7.3.838

updated for version 7.3.838 Problem: Insufficient testing for mksession. Solution: Add tests. (mostly by Roland Eggner)
author Bram Moolenaar <bram@vim.org>
date Tue, 26 Feb 2013 17:21:29 +0100
parents 454d35a43392
children 4905e038b105
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -10839,7 +10839,7 @@ put_view(fd, wp, add_edit, flagp, curren
 			    (long)wp->w_virtcol + 1) < 0
 			|| put_eol(fd) == FAIL
 			|| put_line(fd, "else") == FAIL
-			|| fprintf(fd, "  normal! %d|", wp->w_virtcol + 1) < 0
+			|| fprintf(fd, "  normal! 0%d|", wp->w_virtcol + 1) < 0
 			|| put_eol(fd) == FAIL
 			|| put_line(fd, "endif") == FAIL)
 		    return FAIL;