changeset 11665:2350fe2bef87

[gaim-migrate @ 13950] Simplification from Michael Carlson committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Fri, 14 Oct 2005 18:45:34 +0000
parents 38bbb0f15453
children 7568b126ffd5
files COPYRIGHT src/util.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Fri Oct 14 11:30:37 2005 +0000
+++ b/COPYRIGHT	Fri Oct 14 18:45:34 2005 +0000
@@ -35,6 +35,7 @@
 Jeremy Brooks
 Philip Brown
 Sean Burke
+Michael Carlson
 Julien Cegarra
 Cerulean Studios, LLC
 Jonathan Champ
--- a/src/util.c	Fri Oct 14 11:30:37 2005 +0000
+++ b/src/util.c	Fri Oct 14 18:45:34 2005 +0000
@@ -1856,10 +1856,7 @@
 gaim_home_dir(void)
 {
 #ifndef _WIN32
-	if(g_get_home_dir())
-		return g_get_home_dir();
-	else
-		return NULL;
+	return g_get_home_dir();
 #else
 	return wgaim_data_dir();
 #endif