[Konversation-devel] [Bug 146522] Fortune script doesn't work when variable expansion is turned off

Peter Simonsson peter.simonsson at gmail.com
Sat Jul 7 15:14:37 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146522         
peter.simonsson gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From peter.simonsson gmail com  2007-07-07 15:14 -------
SVN commit 684873 by psn:

Make fortune work when variable expansion is turned off
BUG:146522


 M  +1 -1      fortune  


--- branches/extragear/kde3/network/konversation/scripts/fortune #684872:684873
 @ -25,7 +25,7  @
 srand;
 $LINE = RANDOM_INT(0,$TOTAL_LINES - 5);
 
-$MESSAGE = "%B%C4Random Fortune:%C%B ";
+$MESSAGE = "4Random Fortune: ";
 
 while (<FORTUNES>) {
     $LINE_COUNT++;


More information about the Konversation-devel mailing list