Fix dropdown fuzzer. (#243)

This commit is contained in:
Arthur Sonzogni
2021-10-22 14:04:07 +02:00
committed by GitHub
parent 313ce9c35f
commit f80d9b5cfd
3 changed files with 8 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ Component GeneratorComponent(const char*& data, size_t& size, int depth) {
if (depth <= 0)
return Button(GeneratorString(data, size), [] {});
switch (value % 18) {
switch (value % 19) {
case 1:
return Checkbox(GeneratorString(data, size), &g_bool);
case 2: