summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-13 11:18:02 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-13 11:18:02 +0200
commit2f1e050414935410da55560d017543fa210e19c0 (patch)
tree62a246a43418e49ab255c3eb2ff7d7887b593a1f /src/mark.c
parent0e97531298ad9febb655bc93271be9f26ae547ab (diff)
downloadvim-git-2f1e050414935410da55560d017543fa210e19c0.tar.gz
Avoid warnings from the clang compiler. (Dominique Pelle)
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mark.c b/src/mark.c
index ae31cf0fe..2669cb14c 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -1434,7 +1434,7 @@ write_viminfo_filemarks(fp)
if (get_viminfo_parameter('f') == 0)
return;
- fprintf(fp, _("\n# File marks:\n"));
+ fputs(_("\n# File marks:\n"), fp);
/*
* Find a mark that is the same file and position as the cursor.
@@ -1469,7 +1469,7 @@ write_viminfo_filemarks(fp)
#ifdef FEAT_JUMPLIST
/* Write the jumplist with -' */
- fprintf(fp, _("\n# Jumplist (newest first):\n"));
+ fputs(_("\n# Jumplist (newest first):\n"), fp);
setpcmark(); /* add current cursor position */
cleanup_jumplist();
for (fm = &curwin->w_jumplist[curwin->w_jumplistlen - 1];
@@ -1570,7 +1570,7 @@ write_viminfo_marks(fp_out)
set_last_cursor(curwin);
#endif
- fprintf(fp_out, _("\n# History of marks within files (newest to oldest):\n"));
+ fputs(_("\n# History of marks within files (newest to oldest):\n"), fp_out);
count = 0;
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
{