[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] Simple patch for double -U issue

From: Clark Wang
Subject: [screen-devel] Simple patch for double -U issue
Date: Mon, 8 Nov 2021 15:18:31 +0800


I found a small issue where multiple -U options did not work. The
following patch fixed it for me. Just FYI.


diff --git a/src/screen.c b/src/screen.c
index f25f7fb..8aa3a1a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -793,7 +793,7 @@ int main(int ac, char** av)

 #ifdef UTF8
           case 'U':
-            nwin_options.encoding = nwin_options.encoding == -1 ? UTF8 : 0;
+            nwin_options.encoding = UTF8;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]