mirror of https://github.com/buggins/dlangui.git
fix #403
This commit is contained in:
parent
e58f2a1abe
commit
598d53abae
|
@ -1887,10 +1887,6 @@ mixin template APP_ENTRY_POINT() {
|
||||||
static if (BACKEND_CONSOLE) {
|
static if (BACKEND_CONSOLE) {
|
||||||
int main(string[] args)
|
int main(string[] args)
|
||||||
{
|
{
|
||||||
if (args.length > 1)
|
|
||||||
args = args[1 .. $];
|
|
||||||
else
|
|
||||||
args = null;
|
|
||||||
return DLANGUImain(args);
|
return DLANGUImain(args);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -1916,10 +1912,6 @@ mixin template APP_ENTRY_POINT() {
|
||||||
} else {
|
} else {
|
||||||
int main(string[] args)
|
int main(string[] args)
|
||||||
{
|
{
|
||||||
if (args.length > 1)
|
|
||||||
args = args[1 .. $];
|
|
||||||
else
|
|
||||||
args = null;
|
|
||||||
return DLANGUImain(args);
|
return DLANGUImain(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1625,10 +1625,6 @@ int sdlmain(string[] args) {
|
||||||
|
|
||||||
version (unittest) {
|
version (unittest) {
|
||||||
} else {
|
} else {
|
||||||
if (args.length > 1)
|
|
||||||
args = args[1 .. $];
|
|
||||||
else
|
|
||||||
args = null;
|
|
||||||
res = UIAppMain(args);
|
res = UIAppMain(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1853,10 +1853,6 @@ extern(C) int DLANGUImain(string[] args)
|
||||||
|
|
||||||
version (unittest) {
|
version (unittest) {
|
||||||
} else {
|
} else {
|
||||||
if (args.length > 1)
|
|
||||||
args = args[1 .. $];
|
|
||||||
else
|
|
||||||
args = null;
|
|
||||||
res = UIAppMain(args);
|
res = UIAppMain(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue