Mercurial > pidgin
diff src/themes.c @ 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 | 6c1230d15958 |
children | 5fb47ec9bfe4 |
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]); }