From 791fc92dc7bf15efff444004128b90b8b53ca14f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 19 Jan 2009 23:25:01 -0500 Subject: Command line parameters can now be used in Windows. --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(path); - return main(0, NULL); + return main(1, &lpCmdLine); } #endif -- cgit v1.2.3