summaryrefslogtreecommitdiffstats
path: root/testing/ldapvi/ldapvi_vim_modeline_fix.patch
blob: b91bff489412d130019f3caf829f0f1c9c7b8aea (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ldapvi-1.7.orig/ldapvi.c	2014-05-07 15:43:26.727507056 +0400
+++ ldapvi-1.7/ldapvi.c	2014-05-07 15:43:07.787295850 +0400
@@ -1414,7 +1414,7 @@
 	int nlines = 0;
 
 	if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) {
-		fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s);
+		fputs("# -*- coding: utf-8 -*- \n", s);
 		nlines++;
 	}
 	if (cmdline->ldif) {