73 lines
1.9 KiB
Diff
73 lines
1.9 KiB
Diff
|
From 3d6b9e18506ad9daf4ec7b7d406b38d58ec88009 Mon Sep 17 00:00:00 2001
|
|||
|
From: Peter Seiderer <ps.report@gmx.net>
|
|||
|
Date: Thu, 11 Mar 2021 20:48:36 +0100
|
|||
|
Subject: [PATCH] locale: fix typo local_shiftstates vs. locale_shiftstates
|
|||
|
MIME-Version: 1.0
|
|||
|
Content-Type: text/plain; charset=UTF-8
|
|||
|
Content-Transfer-Encoding: 8bit
|
|||
|
|
|||
|
Fixes:
|
|||
|
|
|||
|
locale.c:94:3: error: ‘local_shiftstates’ undeclared (first use in this function); did you mean ‘locale_shiftstates’?
|
|||
|
94 | local_shiftstates = 0;
|
|||
|
| ^~~~~~~~~~~~~~~~~
|
|||
|
| locale_shiftstates
|
|||
|
|
|||
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
|||
|
---
|
|||
|
locale.c | 10 +++++-----
|
|||
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|||
|
|
|||
|
diff --git a/locale.c b/locale.c
|
|||
|
index 17ccc58..d6dd95a 100644
|
|||
|
--- a/locale.c
|
|||
|
+++ b/locale.c
|
|||
|
@@ -91,7 +91,7 @@ set_default_locale ()
|
|||
|
#if defined (HANDLE_MULTIBYTE)
|
|||
|
locale_shiftstates = mblen ((char *)NULL, 0);
|
|||
|
#else
|
|||
|
- local_shiftstates = 0;
|
|||
|
+ locale_shiftstates = 0;
|
|||
|
#endif
|
|||
|
}
|
|||
|
|
|||
|
@@ -117,7 +117,7 @@ set_default_locale_vars ()
|
|||
|
# if defined (HANDLE_MULTIBYTE)
|
|||
|
locale_shiftstates = mblen ((char *)NULL, 0);
|
|||
|
# else
|
|||
|
- local_shiftstates = 0;
|
|||
|
+ locale_shiftstates = 0;
|
|||
|
# endif
|
|||
|
|
|||
|
u32reset ();
|
|||
|
@@ -226,7 +226,7 @@ set_locale_var (var, value)
|
|||
|
# if defined (HANDLE_MULTIBYTE)
|
|||
|
locale_shiftstates = mblen ((char *)NULL, 0);
|
|||
|
# else
|
|||
|
- local_shiftstates = 0;
|
|||
|
+ locale_shiftstates = 0;
|
|||
|
# endif
|
|||
|
u32reset ();
|
|||
|
return r;
|
|||
|
@@ -250,7 +250,7 @@ set_locale_var (var, value)
|
|||
|
#if defined (HANDLE_MULTIBYTE)
|
|||
|
locale_shiftstates = mblen ((char *)NULL, 0);
|
|||
|
#else
|
|||
|
- local_shiftstates = 0;
|
|||
|
+ locale_shiftstates = 0;
|
|||
|
#endif
|
|||
|
u32reset ();
|
|||
|
}
|
|||
|
@@ -391,7 +391,7 @@ reset_locale_vars ()
|
|||
|
# if defined (HANDLE_MULTIBYTE)
|
|||
|
locale_shiftstates = mblen ((char *)NULL, 0);
|
|||
|
# else
|
|||
|
- local_shiftstates = 0;
|
|||
|
+ locale_shiftstates = 0;
|
|||
|
# endif
|
|||
|
u32reset ();
|
|||
|
#endif
|
|||
|
--
|
|||
|
2.30.1
|
|||
|
|