Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libX11/dist/src Fix broken revert commit part #2



details:   https://anonhg.NetBSD.org/xsrc/rev/b349dd95c9ae
branches:  trunk
changeset: 7289:b349dd95c9ae
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 19 14:15:09 2022 +0000

description:
Fix broken revert commit part #2

diffstat:

 external/mit/libX11/dist/modules/im/ximcp/imLcLkup.c |  6 +++---
 external/mit/libX11/dist/src/CrGlCur.c               |  2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 195657c690ae -r b349dd95c9ae external/mit/libX11/dist/modules/im/ximcp/imLcLkup.c
--- a/external/mit/libX11/dist/modules/im/ximcp/imLcLkup.c      Mon Dec 19 13:20:16 2022 +0000
+++ b/external/mit/libX11/dist/modules/im/ximcp/imLcLkup.c      Mon Dec 19 14:15:09 2022 +0000
@@ -219,9 +219,9 @@
                if(status) *status = XBufferOverflow;
                return (ret);
            }
-           buffer[0] = 0xe0 | ((BRL_UC_ROW >> 12) & 0x0f);
-           buffer[1] = 0x80 | ((BRL_UC_ROW >> 8) & 0x30) | (pattern >> 6);
-           buffer[2] = 0x80 | (pattern & 0x3f);
+           buffer[0] = (char)(0xe0 | ((BRL_UC_ROW >> 12) & 0x0f));
+           buffer[1] = (char)(0x80 | ((BRL_UC_ROW >> 8) & 0x30) | (pattern >> 6));
+           buffer[2] = (char)(0x80 | (pattern & 0x3f));
            if(keysym) {
                *keysym = XK_braille_blank | pattern;
                if(status) *status = XLookupBoth;
diff -r 195657c690ae -r b349dd95c9ae external/mit/libX11/dist/src/CrGlCur.c
--- a/external/mit/libX11/dist/src/CrGlCur.c    Mon Dec 19 13:20:16 2022 +0000
+++ b/external/mit/libX11/dist/src/CrGlCur.c    Mon Dec 19 14:15:09 2022 +0000
@@ -55,7 +55,7 @@
 #endif
 
 #ifndef LIBXCURSOR
-#define LIBXCURSOR "libXcursor.so.1"
+#define LIBXCURSOR "libXcursor.so"
 #endif
 
 static char libraryName[] = LIBXCURSOR;



Home | Main Index | Thread Index | Old Index