Skip to content

Commit

Permalink
testapp: don't random test with size '0'
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Oct 3, 2024
1 parent 78b92a6 commit a4441d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/testapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,8 @@ static void random_input(void)
curr_size = rand_n(200);
}
}

curr_size += 1; /* don't test size '0' */
}

/* Current Font: change less often */
Expand Down

0 comments on commit a4441d4

Please sign in to comment.