File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1570,16 +1570,16 @@ static int shell_execute (lua_State *L)
1570
1570
1571
1571
int filterpicker (lua_State *L)
1572
1572
{
1573
- const char * filtertitle = luaL_optstring (L, 1 , " Filter" );
1573
+ const char * filtertitle = luaL_optstring (L, 2 , " Filter" );
1574
1574
const char * initialfilter = luaL_optstring (L, 3 , " " );
1575
1575
1576
1576
if (strlen (filtertitle) > 100 )
1577
1577
luaL_error (L, " title too long (max 100 characters)" );
1578
1578
1579
- const int table = 2 ;
1579
+ const int table = 1 ;
1580
1580
1581
1581
if (!lua_istable (L, table))
1582
- luaL_error (L, " must have table of choices as 2nd argument" );
1582
+ luaL_error (L, " must have table of choices as first argument" );
1583
1583
1584
1584
CFunctionListDlg dlg;
1585
1585
You can’t perform that action at this time.
0 commit comments