Commit 833bd0e7 authored by Bruno Coudoin's avatar Bruno Coudoin

Merge of r2886 on trunk.

Potentially display a NULL pointer that crashes on windows.
fixes bug#463961

svn path=/branches/gcomprixo/; revision=2887
parent 8b0cd318
......@@ -232,10 +232,9 @@ gc_bonus_display(GCBonusStatusList gamewon, GCBonusList bonus_id)
g_warning("bonus absolute filename... ");
absolute_file = gc_file_find_absolute(greetingsList[RAND(0, NUMBER_OF_GREETINGS-1)]);
g_warning("bonus absolute filename: %s", absolute_file );
if (absolute_file)
g_warning("bonus absolute filename: %s", absolute_file );
gc_sound_play_ogg(absolute_file, NULL);
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