From b936a289218913bf422d84ecfcc06dc2a04c9cb1 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 6 Feb 2023 07:11:21 +0100 Subject: [PATCH] fix: Opening files from command line not working --- main/source/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/source/main.cpp b/main/source/main.cpp index bff3e8d8f..88889f2b6 100644 --- a/main/source/main.cpp +++ b/main/source/main.cpp @@ -55,6 +55,7 @@ int main(int argc, char **argv, char **envp) { // Main window { + Window window; if (argc == 1) ; // No arguments provided else if (argc >= 2) { @@ -64,7 +65,7 @@ int main(int argc, char **argv, char **envp) { } } - Window window; + window.loop(); }