From a847c112f0e257ef8c10cd6ce769a89066a831bf Mon Sep 17 00:00:00 2001 From: meep-eep Date: Wed, 7 Sep 2005 17:21:54 +0000 Subject: [PATCH] Bug fixed in getHomeDir(). git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1871 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/file/dirs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/file/dirs.c b/sc2/src/sc2code/libs/file/dirs.c index eaa7a49cf..48b0ad02c 100644 --- a/sc2/src/sc2code/libs/file/dirs.c +++ b/sc2/src/sc2code/libs/file/dirs.c @@ -180,7 +180,7 @@ getHomeDir (void) return NULL; // NB: pw points to a static buffer. - return pw->pw_name; + return pw->pw_dir; #endif }