#44 bad mIRC colour handling

closed-fixed
Interface (23)
5
2010-02-17
2007-05-01
Anonymous
No

When somebody in chat uses color code value more than 16 jmIrc doesn't ignore it but displays wrong colour because of TRUNCATING code value to lowest 4 bits in Window.java at line 1024 and 1028

colour |= mirccols[Integer.parseInt(cols[0])&0x0f];

Sorry my bad english :)

Discussion

  • Logged In: NO

    It's me again :) I'll correct: it's about mIRC colors

     
  • Logged In: YES
    user_id=736847
    Originator: NO

    You have a good point there, the color values over 15 should probably be interpreted as just default color. I will try to get a fix for this soon.

     
  • This is now fixed in the SVN version.

     
    • status: open --> closed-fixed