Set XERRORDB environment variable to relocate the XErrorDB file
This commit is contained in:
parent
9084423014
commit
3f063fc49c
|
@ -1,3 +1,8 @@
|
|||
2004-12-01 Alexander Gottwald <ago at freedesktop dot org>
|
||||
|
||||
* InitOutput.c:
|
||||
Set XERRORDB environment variable to relocate the XErrorDB file
|
||||
|
||||
2004-11-29 Kensuke Matsuzaki <zakki@peppermint.jp>
|
||||
|
||||
* winmultiwindowwm.c:
|
||||
|
|
|
@ -606,6 +606,14 @@ winFixupPaths (void)
|
|||
buffer[sizeof(buffer)-1] = 0;
|
||||
putenv(buffer);
|
||||
}
|
||||
if (getenv("XERRORDB") == NULL)
|
||||
{
|
||||
char buffer[MAX_PATH];
|
||||
snprintf(buffer, sizeof(buffer), "XERRORDB=%s\\XErrorDB",
|
||||
basedir);
|
||||
buffer[sizeof(buffer)-1] = 0;
|
||||
putenv(buffer);
|
||||
}
|
||||
if (getenv("XLOCALEDIR") == NULL)
|
||||
{
|
||||
char buffer[MAX_PATH];
|
||||
|
|
Loading…
Reference in New Issue
Block a user