[resolved] Minor bug in random description plugin

Found a bug? Tell us!!
Post Reply
wxs

[resolved] Minor bug in random description plugin

Post 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
winkiller
Regular
Posts: 77
Joined: Tue May 17, 2005 7:52 pm
Location: Munich, Germany
Contact:

Post 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)
winkiller
Regular
Posts: 77
Joined: Tue May 17, 2005 7:52 pm
Location: Munich, Germany
Contact:

Post by winkiller »

fixed, tested and checked in :)
Post Reply