diff options
author | 2009-01-19 23:25:01 -0500 | |
---|---|---|
committer | 2009-01-19 23:25:01 -0500 | |
commit | 791fc92dc7bf15efff444004128b90b8b53ca14f (patch) | |
tree | f1dcc6dd70f5f69409cb0ba6aef2f4eb78734589 /src | |
parent | 73da184d79d6219101f57a01519c04c0057a15c1 (diff) | |
download | textadept-791fc92dc7bf15efff444004128b90b8b53ca14f.tar.gz textadept-791fc92dc7bf15efff444004128b90b8b53ca14f.zip |
Command line parameters can now be used in Windows.
Diffstat (limited to 'src')
-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 |