changeset 4341:3ba910921aa0

[gaim-migrate @ 4605] This creates ~/.gaim/smileys automatically. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 18 Jan 2003 18:18:50 +0000
parents f418708d4184
children 051265d35a36
files src/themes.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/themes.c	Sat Jan 18 15:51:47 2003 +0000
+++ b/src/themes.c	Sat Jan 18 18:18:50 2003 +0000
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#include <sys/stat.h>
 #include "gaim.h"
 
 #ifdef _WIN32
@@ -226,7 +227,9 @@
 				g_free(path);
 			}
 			g_dir_close(dir);
-		}
+		} else if (l == 1) {
+			mkdir(probedirs[l], S_IRUSR | S_IWUSR | S_IXUSR);
+		}	
 		g_free(probedirs[l]);
 	}