projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c330fc
)
Do not assign the return of setlocale(LC_ALL,"C") to locale var
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 16 Sep 2011 07:12:13 +0000
(
03:12
-0400)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 16 Sep 2011 07:12:13 +0000
(
03:12
-0400)
since it will be no longer used afterwards.
CID:432
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/mule/input-method-xlib.c
patch
|
blob
|
history
diff --git
a/src/mule/input-method-xlib.c
b/src/mule/input-method-xlib.c
index
cf20e90
..
eb083af
100644
(file)
--- a/
src/mule/input-method-xlib.c
+++ b/
src/mule/input-method-xlib.c
@@
-158,7
+158,7
@@
Initialize_Locale (void)
"Using C Locale instead\n", locale);
putenv ("LANG=C");
putenv ("LC_ALL=C");
- if (
(locale = setlocale (LC_ALL, "C")
) == NULL) {
+ if (
setlocale (LC_ALL, "C"
) == NULL) {
xim_warn ("Can't set locale to `C'!\n");
return;
}