From ea1b0b1a519f1ad1b56a2a05206d5ed0c1bfcee9 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Thu, 21 Jan 2021 00:24:17 -0300 Subject: [PATCH] Properly compares before/after of includes edited from within+ +another instance of the IDE. --- source/ide/ide_methods.bas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index beca62355..57ebbeedb 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -2825,6 +2825,7 @@ FUNCTION ide2 (ignore) backupIncludeFile = FREEFILE OPEN f$ FOR BINARY AS #backupIncludeFile tempInclude1$ = SPACE$(LOF(backupIncludeFile)) + GET #backupIncludeFile, 1, tempInclude1$ CLOSE #backupIncludeFile WriteConfigSetting "'[IDE DISPLAY SETTINGS]", "IDE_AutoPosition", "FALSE" @@ -2856,6 +2857,7 @@ FUNCTION ide2 (ignore) OPEN f$ FOR BINARY AS #backupIncludeFile tempInclude2$ = SPACE$(LOF(backupIncludeFile)) + GET #backupIncludeFile, 1, tempInclude2$ CLOSE #backupIncludeFile dummy = DarkenFGBG(0)