Moving Open code to C
This commit is contained in:
@@ -721,13 +721,11 @@ int main(int argc, char **argv)
|
||||
|
||||
for (int i = 1; i < argc; i += 1) {
|
||||
String it = argv[i];
|
||||
if (!FileExists(it)) continue;
|
||||
|
||||
if (it == "--testing") {
|
||||
Testing = true;
|
||||
} else if (EndsWith(it, ".project.lua")) {
|
||||
SetProjectFile(BufferOpenFile(it));
|
||||
} else {
|
||||
if (!FileExists(it)) continue;
|
||||
Window *window = GetWindow({0});
|
||||
WindowOpenBufferView(window, it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user