Commit ef990c2b authored by Francois Techene's avatar Francois Techene
Browse files

Set answer to "yes" and "no" only

parent aae2fd0a
......@@ -76,16 +76,21 @@ get_randomized_number_with_range (int lower,
static void
randomize_answer (GtkLabel *label)
char arr[6][30] =
{ "Yes",
"Don't count on it.",
"Only you can find out.",
char arr[2][30] =
{ "Yes",
int num = get_randomized_number_with_range(0,5);
int num = get_randomized_number_with_range(0,1);
gtk_label_set_text(label, arr[num]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment