diff options
author | Jim Meyering <jim@meyering.net> | 2005-09-14 16:10:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-09-14 16:10:38 +0000 |
commit | cc4800dd1b02fb20f752da11af2bcdcbbf9a0c97 (patch) | |
tree | 115d174d6017491cbb8dbd9d1f0c98f38ec5f2ee /lib | |
parent | 9d55b89d59b51fba050ee6b6355c93d3aa05a209 (diff) | |
download | coreutils-cc4800dd1b02fb20f752da11af2bcdcbbf9a0c97.tar.xz |
(my_strftime): Be sure to use L_('x') for literals.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strftime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strftime.c b/lib/strftime.c index 932166eaf..0f338206e 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -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; |