Skip to content

Instantly share code, notes, and snippets.

@josefnpat
Created January 10, 2015 20:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josefnpat/08f72b8d8551a920ca76 to your computer and use it in GitHub Desktop.
Save josefnpat/08f72b8d8551a920ca76 to your computer and use it in GitHub Desktop.
Remove "ads" from vim
diff -r b3bc99b909c3 src/version.c
--- a/src/version.c Sat Jan 10 15:09:25 2015 +0100
+++ b/src/version.c Sat Jan 10 15:37:45 2015 -0500
@@ -2353,9 +2353,6 @@
#endif
N_("Vim is open source and freely distributable"),
"",
- N_("Help poor children in Uganda!"),
- N_("type :help iccf<Enter> for information "),
- "",
N_("type :q<Enter> to exit "),
N_("type :help<Enter> or <F1> for on-line help"),
N_("type :help version7<Enter> for version info"),
@@ -2430,19 +2427,6 @@
break;
continue;
}
- if (sponsor != 0)
- {
- if (strstr(p, "children") != NULL)
- p = sponsor < 0
- ? N_("Sponsor Vim development!")
- : N_("Become a registered Vim user!");
- else if (strstr(p, "iccf") != NULL)
- p = sponsor < 0
- ? N_("type :help sponsor<Enter> for information ")
- : N_("type :help register<Enter> for information ");
- else if (strstr(p, "Orphans") != NULL)
- p = N_("menu Help->Sponsor/Register for information ");
- }
if (*p != NUL)
do_intro_line(row, (char_u *)_(p), i == 2, 0);
++row;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment