summaryrefslogtreecommitdiff
path: root/AuFileName.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-15 15:06:55 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-15 15:06:55 +0000
commit62b6efa4e0012fc499d2c70bff7b99b468a0458f (patch)
tree7b10fb0eecf5af062ff354f24f43c22cd8a46520 /AuFileName.c
parent05ed20614e85180684d5b8e663dcc2fe57851447 (diff)
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Addedsco_port_update-baseXORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1
mingw (Win32) port
Diffstat (limited to 'AuFileName.c')
-rw-r--r--AuFileName.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AuFileName.c b/AuFileName.c
index d1057fa..ce62327 100644
--- a/AuFileName.c
+++ b/AuFileName.c
@@ -49,7 +49,7 @@ XauFileName ()
if (!name) {
#ifdef WIN32
(void) strcpy (dir, "/users/");
- if (name = getenv("USERNAME")) {
+ if ((name = getenv("USERNAME"))) {
(void) strcat (dir, name);
name = dir;
}