View | Details | Raw Unified | Return to bug 262641 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/screen/files/patch-screen.c (-3 / +23 lines)
Lines 1-6 Link Here
1
--- screen.c.orig	2017-07-10 12:26:25.000000000 -0700
1
--- screen.c.orig	2022-03-18 11:47:13 UTC
2
+++ screen.c	2017-08-25 20:20:20.471073000 -0700
2
+++ screen.c
3
@@ -2214,7 +2214,7 @@
3
@@ -2234,7 +2234,7 @@ static char *pad_expand(char *buf, char *p, int numpad
4
   pn2 = pn = p + padlen;
4
   pn2 = pn = p + padlen;
5
   r = winmsg_numrend;
5
   r = winmsg_numrend;
6
   while (p >= buf) {
6
   while (p >= buf) {
Lines 9-11 Link Here
9
       winmsg_rendpos[--r] = pn - buf;
9
       winmsg_rendpos[--r] = pn - buf;
10
       continue;
10
       continue;
11
     }
11
     }
12
@@ -2762,19 +2762,6 @@ char *MakeWinMsgEv(char *str, struct win *win, int esc
13
         qmflag = 1;
14
       p += strlen(p) - 1;
15
       break;
16
-#ifdef ENCODINGS
17
-	case 'e':
18
-	  *p = 0;
19
-	  D_encoding = nwin_options.encoding > 0 ? nwin_options.encoding : 0;
20
-	  if (win && win->w_encoding)
21
-	    {
22
-	      *p++ = ' ';
23
-	      strcpy(p, EncodingName(win->w_encoding));
24
-	    }
25
-	  p += strlen(p) - 1;
26
-	  break;
27
-#endif
28
-
29
     case 't':
30
       *p = 0;
31
       if (win && (int)strlen(win->w_title) < l) {

Return to bug 262641