We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26c860 commit 4a0020cCopy full SHA for 4a0020c
src/main/main.c
@@ -937,9 +937,9 @@ void setup_Rmainloop(void)
937
If LANG or LC_ALL has been set to a non-existing locale, we assume
938
that the user wants to ne informed. */
939
940
- char *s;
+ const char *s;
941
942
- if (!(s = getenv("LANG") && *s) && !(s = getenv("LC_ALL") && *s))
+ if (!( (s = getenv("LANG")) && *s) && !( (s = getenv("LC_ALL")) && *s))
943
setenv("LANG", "C", 1);
944
}
945
0 commit comments