Skip to content

Commit

Permalink
Fixed: Compiling on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
XusinboyBekchanov committed Mar 29, 2022
1 parent c736a3e commit 29de4fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Settings/VisualFBEditor32.ini
Expand Up @@ -120,7 +120,7 @@ ShowAlignmentGrid=false
SnapToGrid=false
ChangeKeywordsCase=true
ChoosedKeywordsCase=0
CurrentTheme=default theme
CurrentTheme=Dark (Visual Studio)
EditorFontName=Courier New
EditorFontSize=10
InterfaceFontName=Tahoma
Expand All @@ -139,7 +139,7 @@ OpenCommandPromptInMainFileFolder=true
CommandPromptFolder=./Projects
TurnOnEnvironmentVariables=true
EnvironmentVariables=
DarkMode=false
DarkMode=true
PlaceStaticEventHandlersAfterTheConstructor=true
CreateStaticEventHandlersWithAnUnderscoreAtTheBeginning=false
AddRelativePathsToRecent=true
Expand Down
4 changes: 3 additions & 1 deletion src/Main.bas
Expand Up @@ -2326,7 +2326,9 @@ Sub ReloadHistoryCode()
tb->txtCode.Changing "Reload"
tb->txtCode.LoadFromFile(OpenD.FileName, tb->FileEncoding, tb->NewLineType)
tb->txtCode.Changed "Reload"
tb->DateFileTime = GetFileLastWriteTime(tb->FileName)
#ifdef __USE_WINAPI__
tb->DateFileTime = GetFileLastWriteTime(tb->FileName)
#endif
tb->txtCode.Modified = True
End If

Expand Down

0 comments on commit 29de4fd

Please sign in to comment.