more win32 gui fuzzer work

This commit is contained in:
nhmall
2018-12-15 19:31:42 -05:00
parent bebc92f6fb
commit 902f76d1fa
3 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ int
mswin_ext_cmd_window(int *selection)
{
if (iflags.debug_fuzzer) {
*selection = rn2(extcmdlist_length + 1) - 1;
*selection = rnd_extcmd_idx();
if (*selection != -1)
return IDOK;