mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 01:10:23 +00:00
Multiple IDE instance fix
When exporting "Untitled" code, then take current IDE instance into account.
This commit is contained in:
parent
7038e2527d
commit
9d9e063b67
|
@ -20374,7 +20374,7 @@ SUB ExportCodeAs (docFormat$)
|
|||
' color theme is utilized for HTML and Rich Text documents, the Wiki however
|
||||
' has its own fixed blue theme.
|
||||
'----------
|
||||
pNam$ = ideprogname$: IF pNam$ = "" THEN pNam$ = "Untitled.bas"
|
||||
pNam$ = ideprogname$: IF pNam$ = "" THEN pNam$ = "Untitled" + tempfolderindexstr$ + ".bas"
|
||||
SELECT CASE LCASE$(docFormat$)
|
||||
CASE "html": ext$ = ".htm"
|
||||
CASE "rich": ext$ = ".rtf"
|
||||
|
|
Loading…
Reference in a new issue