summaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
blob: 936a62d62f55d6328a57c9b568b833a2e301c91d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- termcap-2.0.8/termcap.c.colon
+++ termcap-2.0.8/termcap.c
@@ -136,7 +136,7 @@
		c = *s++ & 0x1f;

	/* See if we want to translate. */
-	if ((c & 0x7f) > 31)
+	if ((c & 0x7f) > 31 && c != ':')
		*r++ = c;
	else {
		len = s - start;