From 62b6efa4e0012fc499d2c70bff7b99b468a0458f Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Mon, 15 Nov 2004 15:06:55 +0000 Subject: Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port --- AuFileName.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AuFileName.c') 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; } -- cgit v1.2.3