aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-01-18 20:28:04 +0000
committerCy Schubert <cy@FreeBSD.org>2017-01-18 20:28:04 +0000
commit7f25cb09302f70cbebab5c161bf01fd5c57dbf35 (patch)
tree31f7984566e412e13827bfa3764056c189b10290 /sysutils/screen/files
parentf95b6d39e1c300ffc5943ca0bbecbb6b024dffc8 (diff)
Fix optional patch.
Reported by: ler
Notes
Notes: svn path=/head/; revision=431826
Diffstat (limited to 'sysutils/screen/files')
-rw-r--r--sysutils/screen/files/opt-showencoding28
1 files changed, 9 insertions, 19 deletions
diff --git a/sysutils/screen/files/opt-showencoding b/sysutils/screen/files/opt-showencoding
index dfc2ed4f25cb..b931f0d67292 100644
--- a/sysutils/screen/files/opt-showencoding
+++ b/sysutils/screen/files/opt-showencoding
@@ -1,19 +1,9 @@
---- process.c.orig 2008-05-08 02:37:33.000000000 +0800
-+++ process.c 2008-05-08 02:37:49.000000000 +0800
-@@ -3422,6 +3422,7 @@
- {
- WinSwitchEncoding(fore, n);
- ResetCharsets(fore);
-+ RedisplayDisplays(0);
- }
- else if (i && display)
- D_encoding = n;
---- screen.c.orig 2008-05-08 02:37:22.000000000 +0800
-+++ screen.c 2008-05-20 20:34:37.000000000 +0800
-@@ -2584,6 +2584,18 @@
- }
- p += strlen(p) - 1;
- break;
+--- screen.c.orig 2017-01-17 11:28:29.397404660 -0800
++++ screen.c 2017-01-18 12:24:40.855402000 -0800
+@@ -2760,6 +2760,18 @@
+ }
+ p += strlen(p) - 1;
+ break;
+#ifdef ENCODINGS
+ case 'e':
+ *p = 0;
@@ -26,6 +16,6 @@
+ p += strlen(p) - 1;
+ break;
+#endif
- case '{':
- {
- char rbuf[128];
+
+ case '{':
+ {