mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Some fixes for compiling with Win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c6808b3724
commit
df10f182c0
8 changed files with 50 additions and 12 deletions
|
|
@ -310,7 +310,7 @@ static void init_configfile(void)
|
|||
str = g_strdup_printf("%s/.irssi", g_get_home_dir());
|
||||
if (stat(str, &statbuf) != 0) {
|
||||
/* ~/.irssi not found, create it. */
|
||||
if (mkdir(str, 0700) != 0) {
|
||||
if (mkpath(str, 0700) != 0) {
|
||||
g_error(_("Couldn't create %s/.irssi directory"),
|
||||
g_get_home_dir());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue