mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 00:50:49 +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
ffd3b2f332
commit
a28640077e
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ pathToColumn(NSBrowser *browser, int column)
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
if (column == 0)
|
if (column == 0)
|
||||||
return @"/";
|
return @"/";
|
||||||
|
else if (column == 1)
|
||||||
|
return [[[browser pathToColumn: column] substringFromIndex: 1]
|
||||||
|
stringByAppendingString: @"/"];
|
||||||
else
|
else
|
||||||
return [[browser pathToColumn: column] substringFromIndex: 1];
|
return [[browser pathToColumn: column] substringFromIndex: 1];
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue