diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 6 |
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); } } |