mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(my_strftime): Be sure to use L_('x') for literals.
This commit is contained in:
1 parent
9d55b89d59
commit
cc4800dd1b
1 file changed
+2
-2
+2
-2
@@ -647,9 +647,9 @@ my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format,
|
||||
not before, so we accept %9:z, not %:9z. */
|
||||
{
|
||||
const CHAR_T *q;
|
||||
for (q = f; *q == ':' && q - f < 3; q++)
|
||||
for (q = f; *q == L_(':') && q - f < 3; q++)
|
||||
; /* empty */
|
||||
if (*q == 'z')
|
||||
if (*q == L_('z'))
|
||||
{
|
||||
colons = q - f;
|
||||
f = q;
|
||||
|
||||
Reference in new issue
Block a user