X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=screen-statusline-encoding.patch;h=3d5a258eb0938a2e8a7a339ce419bc5ef32106b9;hb=refs%2Fheads%2FSCREEN_4_0;hp=560ce38fa32b201e5fa216e10fb74c1b649be1a1;hpb=95cacec1381b89797641248cff3d12bef985fbba;p=packages%2Fscreen.git diff --git a/screen-statusline-encoding.patch b/screen-statusline-encoding.patch index 560ce38..3d5a258 100644 --- a/screen-statusline-encoding.patch +++ b/screen-statusline-encoding.patch @@ -12,7 +12,7 @@ https://savannah.gnu.org/bugs/index.php?23955 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 @@ +@@ -2584,6 +2584,17 @@ } p += strlen(p) - 1; break; @@ -22,7 +22,6 @@ https://savannah.gnu.org/bugs/index.php?23955 + D_encoding = nwin_options.encoding > 0 ? nwin_options.encoding : 0; + if (win && win->w_encoding) + { -+ *p++ = ' '; + strcpy(p, EncodingName(win->w_encoding)); + } + p += strlen(p) - 1;