diff src/undo.c @ 4827:60301d4d1682 v7.3.1160

updated for version 7.3.1160 Problem: Mixing long and pointer doesn't always work. Solution: Avoid cast to pointer.
author Bram Moolenaar <bram@vim.org>
date Mon, 10 Jun 2013 20:25:10 +0200
parents 790238e5a46c
children 00d61a47df66
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -1514,8 +1514,10 @@ u_write_undo(name, forceit, buf, hash)
 	write_ok = TRUE;
 #ifdef U_DEBUG
     if (headers_written != buf->b_u_numhead)
-	EMSG3("Written %ld headers, but numhead is %ld",
-					   headers_written, buf->b_u_numhead);
+    {
+	EMSGN("Written %ld headers, ...", headers_written);
+	EMSGN("... but numhead is %ld", buf->b_u_numhead);
+    }
 #endif
 
 write_error: