mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 16:30:29 +00:00
Modified LaunchBrowser arg as optional
This commit is contained in:
parent
3f37fb2936
commit
9a71dea1c9
1 changed files with 1 additions and 1 deletions
|
@ -3555,7 +3555,7 @@ static void LuaSetIntField(lua_State *L, const char *k, lua_Integer v) {
|
|||
}
|
||||
|
||||
static int LuaLaunchBrowser(lua_State *L) {
|
||||
const char *p = luaL_checkstring(L, 1);
|
||||
const char *p = luaL_optstring(L, 1, "/");
|
||||
LaunchBrowser(p);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue