Permalink
Browse files

locale.c: Use non-control for a format dummy

We need a plain character here.  I used a '\e' before, but it would be
better to have something that isn't a control, so just change it to a
blank
  • Loading branch information...
khwilliamson committed Jan 2, 2018
1 parent 250a1aa commit ceed6c6fabd8c965c80618bc4ff4a9e671d23221
Showing with 1 addition and 1 deletion.
  1. +1 −1 locale.c
View
@@ -1740,7 +1740,7 @@ S_my_nl_langinfo(const int item, bool toggle)
Newx(mod_format, mod_size, char);
Newx(temp_result, PL_langinfo_bufsize, char);
*mod_format = '\a';
*mod_format = ' ';
my_strlcpy(mod_format + 1, format, mod_size);
len = strftime(temp_result,
PL_langinfo_bufsize,

0 comments on commit ceed6c6

Please sign in to comment.