We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 410474c commit 49767b3Copy full SHA for 49767b3
1 file changed
src/ruisapp/glue/windows/glue.cxx
@@ -821,8 +821,14 @@ int WINAPI WinMain(
821
int n_cmd_show // Window Show State
822
)
823
{
824
- // TODO: pass argc and argv
825
- ruisapp::winmain(0, nullptr);
+ ruisapp::winmain(__argc, const_cast<const char**>(__argv));
+
826
+ return 0;
827
+}
828
829
+int main(int argc, const char** argv)
830
+{
831
+ ruisapp::winmain(argc, argv);
832
833
return 0;
834
}
0 commit comments