Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
10537cb1
Commit
10537cb1
authored
Apr 08, 1996
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include locale.h if HAVE_SETLOCALE.
(x_term_init): Restore LC_TIME as well as LC_NUMERIC.
parent
c8644d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/xterm.c
src/xterm.c
+3
-1
No files found.
src/xterm.c
View file @
10537cb1
...
...
@@ -105,7 +105,7 @@ extern void _XEditResCheckMessages ();
#endif
#endif
#ifdef HAVE_
X11XTR6
#ifdef HAVE_
SETLOCALE
/* So we can do setlocale. */
#include <locale.h>
#endif
...
...
@@ -5891,6 +5891,7 @@ x_term_init (display_name, xrm_option, resource_name)
setlocale
(
LC_ALL
,
""
);
/* In case we just overrode what init_lread did, redo it. */
setlocale
(
LC_NUMERIC
,
"C"
);
setlocale
(
LC_TIME
,
"C"
);
#endif
#ifdef USE_X_TOOLKIT
...
...
@@ -5920,6 +5921,7 @@ x_term_init (display_name, xrm_option, resource_name)
&
argc
,
argv
);
#ifdef HAVE_X11XTR6
/* I think this is to compensate for XtSetLanguageProc. */
setlocale
(
LC_NUMERIC
,
"C"
);
setlocale
(
LC_TIME
,
"C"
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment