Skip to content
Snippets Groups Projects
Commit 6709e896 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Bounds checking in possibilty finding code

parent 35cea86d
No related branches found
No related tags found
No related merge requests found
......@@ -211,6 +211,7 @@ rugby_score_store_set_score (RugbyScoreStore *store,
gint score)
{
g_return_if_fail (RUGBY_IS_SCORE_STORE (store));
g_return_if_fail (score >= 0 && score <= 150);
store->priv->score = score;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment