summaryrefslogtreecommitdiff
path: root/src/ex_cmds.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/ex_cmds.c
parent0e97531298ad9febb655bc93271be9f26ae547ab (diff)
downloadvim-2f1e050414935410da55560d017543fa210e19c0.zip
Avoid warnings from the clang compiler. (Dominique Pelle)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 20a39ffff..f78bf9643 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2080,9 +2080,9 @@ do_viminfo(fp_in, fp_out, flags)
/* Write the info: */
fprintf(fp_out, _("# This viminfo file was generated by Vim %s.\n"),
VIM_VERSION_MEDIUM);
- fprintf(fp_out, _("# You may edit it if you're careful!\n\n"));
+ fputs(_("# You may edit it if you're careful!\n\n"), fp_out);
#ifdef FEAT_MBYTE
- fprintf(fp_out, _("# Value of 'encoding' when this file was written\n"));
+ fputs(_("# Value of 'encoding' when this file was written\n"), fp_out);
fprintf(fp_out, "*encoding=%s\n\n", p_enc);
#endif
write_viminfo_search_pattern(fp_out);
@@ -5422,7 +5422,7 @@ write_viminfo_sub_string(fp)
{
if (get_viminfo_parameter('/') != 0 && old_sub != NULL)
{
- fprintf(fp, _("\n# Last Substitute String:\n$"));
+ fputs(_("\n# Last Substitute String:\n$"), fp);
viminfo_writestring(fp, old_sub);
}
}