libs/wine: check for empty string in WINEPREFIX
André Hentschel
nerv at dawncrow.de
Sun Dec 19 14:17:05 CST 2010
see http://bugs.winehq.org/show_bug.cgi?id=25554
---
libs/wine/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/wine/config.c b/libs/wine/config.c
index 4a2bced..e15012b 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -266,7 +266,7 @@ static void init_paths(void)
/* build config_dir */
- if (prefix)
+ if (prefix && *prefix)
{
config_dir = xstrdup( prefix );
remove_trailing_slashes( config_dir );
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list