mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
fix path to drive on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26524 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f59bbe5aa8
commit
0b9ee6f603
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ pathToColumn(NSBrowser *browser, int column)
|
|||
#if defined(__MINGW32__)
|
||||
if (column == 0)
|
||||
return @"/";
|
||||
else if (column == 1)
|
||||
return [[[browser pathToColumn: column] substringFromIndex: 1]
|
||||
stringByAppendingString: @"/"];
|
||||
else
|
||||
return [[browser pathToColumn: column] substringFromIndex: 1];
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue