After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661307 - GetMultiOptionsExpression doesn't allow for questions with 8 options
GetMultiOptionsExpression doesn't allow for questions with 8 options
Status: RESOLVED FIXED
Product: gbrainy
Classification: Other
Component: gbrainy application
git master
Other Linux
: Normal normal
: ---
Assigned To: gbrainy-maint
gbrainy-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-09 11:44 UTC by Weeble
Modified: 2011-10-15 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Weeble 2011-10-09 11:44:57 UTC
GameAnswer.GetMultiOptionsExpression() returns "[ABCDEFG]", causing "H" to be rejected as a possible answer. This can sometimes be observed in PuzzleBuildTriangle.

It looks like this:

    for (int i = 0; i < MAX_POSSIBLE_ANSWER; i++)

should be:

    for (int i = 0; i <= MAX_POSSIBLE_ANSWER; i++)
Comment 1 Jordi Mas 2011-10-15 17:10:28 UTC
Thanks for the bug report

It was really usefull

I have just fixed in HEAD

http://git.gnome.org/browse/gbrainy

Thanks,

Jordi,