Page 1 of 1

[resolved] Minor bug in random description plugin

Posted: Sat Jul 23, 2005 5:01 am
by wxs
I've found a minor bug in the random description plugin and have prepared a patch. The bug lies in the fact that if you have a description with a colon in it but the leading text is not numeric the description will never be stored as a possible choice in the array.

As a test case I had "Blogs are for the weak :(" (an inside joke amongst friends) as a description and it was never displayed. That is a 'colon followed by an open parenthesis' in case it is rendered as an emoticon.

The patch is available at: http://www.atarininja.org/~wxs/patches/ ... tion.patch

-- WXS

Posted: Sat Jul 23, 2005 4:42 pm
by winkiller
Aye, you're right. I haven't thougth about that.
I will patch it into cvs soon.

Many thanks for showing this (and thanks to Garvin for letting me know)

Posted: Sat Jul 23, 2005 7:07 pm
by winkiller
fixed, tested and checked in :)