From 3d719766073e1c216b181e3bafc6af52f3db8924 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Thu, 19 May 2011 11:47:53 +0000 Subject: Replacing deprecated method createDirectoryAtPath:attributes: with non-deprecated version createDirectoryAtPath:withIntermediateDirectories:attributes:error: svn path=/trunk/netsurf/; revision=12430 --- cocoa/NetsurfApp.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m index be448c925..79887043b 100644 --- a/cocoa/NetsurfApp.m +++ b/cocoa/NetsurfApp.m @@ -121,7 +121,7 @@ static NSString *cocoa_get_preferences_path( void ) BOOL exists = [fm fileExistsAtPath: netsurfPath isDirectory: &isDirectory]; if (!exists) { - exists = [fm createDirectoryAtPath: netsurfPath attributes: nil]; + exists = [fm createDirectoryAtPath: netsurfPath withIntermediateDirectories: YES attributes: nil error: NULL]; isDirectory = YES; } if (!(exists && isDirectory)) { -- cgit v1.2.3