mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
use NSOpenStepRootDirectory instead of hard-coded /
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe8bcb804b
commit
bc3ead8d69
1 changed files with 1 additions and 3 deletions
|
@ -537,8 +537,6 @@ static NSDictionary *extPreferences = nil;
|
|||
|
||||
static NSString *urlPrefPath = nil;
|
||||
static NSDictionary *urlPreferences = nil;
|
||||
// FIXME: Won't work for MINGW32
|
||||
static NSString *_rootPath = @"/";
|
||||
|
||||
/*
|
||||
* Class methods
|
||||
|
@ -748,7 +746,7 @@ static NSString *_rootPath = @"/";
|
|||
forKey: NSHomeDirectory()];
|
||||
|
||||
/* it would be nice to use different root icons... */
|
||||
[folderPathIconDict setObject: @"Root_PC" forKey: _rootPath];
|
||||
[folderPathIconDict setObject: @"Root_PC" forKey: NSOpenStepRootDirectory()];
|
||||
|
||||
for (i = 0; i < [libraryDirs count]; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue