emacs-diffs
[Top][All Lists]
Advanced

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

master 84473eb610: ; * src/composite.c (Fcomposition_get_gstring): Fix c


From: Po Lu
Subject: master 84473eb610: ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings.
Date: Sun, 10 Jul 2022 03:25:15 -0400 (EDT)

branch: master
commit 84473eb610e64e1b64d2ca73a092cc257995335f
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings.
---
 src/composite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/composite.c b/src/composite.c
index 5ad846e40b..1596e996d6 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1897,7 +1897,7 @@ should be ignored.  */)
          /* FIXME: Not clear why we need to do that: AFAICT the rest of
              the code should work on an ASCII-only unibyte string just
              as well (bug#56347).  */
-         string = make_multibyte_string (SDATA (string), chars, chars);
+         string = make_multibyte_string (SSDATA (string), chars, chars);
        }
       frombyte = string_char_to_byte (string, frompos);
     }



reply via email to

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