aboutsummaryrefslogtreecommitdiff
path: root/libXt
diff options
context:
space:
mode:
Diffstat (limited to 'libXt')
-rw-r--r--libXt/src/Initialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libXt/src/Initialize.c b/libXt/src/Initialize.c
index 75697be16..abd82826d 100644
--- a/libXt/src/Initialize.c
+++ b/libXt/src/Initialize.c
@@ -593,6 +593,7 @@ XrmDatabase XtScreenDatabase(
PATH_MAX - strlen (slashDotXdefaultsDash) - 1);
(void) strcat(filename, slashDotXdefaultsDash);
#else
+ filename = filenamebuf;
strcpy(filename, slashDotXdefaultsDash);
#endif
len = strlen(filename);