mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Fixup code locatting user domain library directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c971dc22ef
commit
459f7f2797
3 changed files with 14 additions and 9 deletions
|
@ -524,17 +524,15 @@ static NSString *_rootPath = @"/";
|
|||
|
||||
NS_DURING
|
||||
{
|
||||
service = [[NSSearchPathForDirectoriesInDomains(NSUserDirectory,
|
||||
NSUserDomainMask,
|
||||
YES)
|
||||
objectAtIndex: 0]
|
||||
stringByAppendingPathComponent: @"Library/Services"];
|
||||
service = [[NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,
|
||||
NSUserDomainMask, YES) objectAtIndex: 0]
|
||||
stringByAppendingPathComponent: @"Services"];
|
||||
|
||||
/*
|
||||
* Load file extension preferences.
|
||||
*/
|
||||
extPrefPath = [service
|
||||
stringByAppendingPathComponent: @".GNUstepExtPrefs"];
|
||||
stringByAppendingPathComponent: @".GNUstepExtPrefs"];
|
||||
RETAIN(extPrefPath);
|
||||
if ([mgr isReadableFileAtPath: extPrefPath] == YES)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue