diff options
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c index 81408d32..a76717e8 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -115,7 +115,7 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR lpCmdLine, int) { char *last_slash = strrchr(path, '\\'); if (last_slash) *last_slash = '\0'; textadept_home = static_cast<char*>(path); - return main(0, NULL); + return main(1, &lpCmdLine); } #endif |