diff options
Diffstat (limited to 'AuFileName.c')
-rw-r--r-- | AuFileName.c | 2 |
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; } |