[binutils-gdb] ppc-opc.c non-ascii string

Alan Modra via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c94eee7589548c1ded3882ea9b64f5fb58e56630

commit c94eee7589548c1ded3882ea9b64f5fb58e56630
Author: Alan Modra <[email protected]>
Date:   Thu Mar 5 23:48:53 2026 +1030

    ppc-opc.c non-ascii string
    
    Fix a gettext complaint.
    
            * ppc-opc.c (insert_sr): Don't use non-ascii dash.

Diff:
---
 opcodes/ppc-opc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index af96fbba3fc..2750aa94c57 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -1825,7 +1825,7 @@ insert_sr (uint64_t insn,
 	   const char **errmsg)
 {
   if (value < 0 || value > 23)
-    *errmsg = _("invalid SR value (must be 0–23)");
+    *errmsg = _("invalid SR value (must be 0-23)");
   return insn | ((value & 0x1f) << 11);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.