#277 SCI_REGISTERIMAGE fails to copy colours when replacing image

Cosmetic
closed-fixed
Neil Hodgson
Scintilla (791)
3
2005-03-25
2005-03-22
Blair McGlashan
No

SCI_REGISTERIMAGE does not allocate colours when
overwriting an image with another using the same index,
consequently one gets a strange monochrome mess.
Fix is simply to insert:
set[i]->CopyDesiredColours();
at line 265 in XPM.cxx, as per the attached.

Discussion

  • Modified XPM.cxx - one line added

     
    Attachments
  • Neil Hodgson
    Neil Hodgson
    2005-03-24

    • milestone: 100660 --> Cosmetic
    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-accepted
     
  • Neil Hodgson
    Neil Hodgson
    2005-03-25

    Logged In: YES
    user_id=12579

    Fixed in CVS

     
  • Neil Hodgson
    Neil Hodgson
    2005-03-25

    • status: open-accepted --> closed-fixed