From 8ba19d11fb397b29a6004aeabd1dec306f5f14c8 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Sat, 10 Mar 2018 16:30:50 -0300 Subject: [PATCH] Enhancement: IDE starts looking in _STARTDIR$ for File->Open dialog. --- source/ide/ide_methods.bas | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 60a3a0127..2d6fdcf9b 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -10032,24 +10032,9 @@ END FUNCTION FUNCTION idezgetroot$ 'note: does NOT including a trailing / or \ on the right - IF os$ = "WIN" THEN - SHELL _HIDE "cd >.\internal\temp\root.txt" - OPEN ".\internal\temp\root.txt" FOR INPUT AS #150 - LINE INPUT #150, a$ - idezgetroot$ = a$ - CLOSE #150 - EXIT FUNCTION - END IF - IF os$ = "LNX" THEN - SHELL _HIDE "pwd >./internal/temp/root.txt" - OPEN "./internal/temp/root.txt" FOR INPUT AS #150 - LINE INPUT #150, a$ - idezgetroot$ = a$ - CLOSE #150 - EXIT FUNCTION - END IF + idezgetroot$ = _STARTDIR$ END FUNCTION FUNCTION idezpathlist$ (path$)