bugThe FreeType Project - Bugs: bug #27999, FTC_Manager_RemoveFaceID() removes...

 
 

bug #27999: FTC_Manager_RemoveFaceID() removes all existing entries instead of selected one

Submitted by:  Michał Cichoń <thedmd>
Submitted on:  Wed 11 Nov 2009 06:32:38 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.13

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 15 Apr 2010 06:08:45 AM UTC, comment #2:

You're welcome.

Michał Cichoń <thedmd>
Wed 14 Apr 2010 09:23:02 PM UTC, comment #1:

Patch applied to git, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 11 Nov 2009 06:32:38 PM UTC, original submission:

After calling FTC_Manager_RemoveFaceID() all cached Face_ID are removed. This is becouse NULL is pased to FTC_MruList_RemoveSelection() function:

FTC_MruList_RemoveSelection(&manager->faces,
(FTC_MruNode_CompareFunc)NULL,
face_id);

This issue can be fixed by passing comparator:

FTC_MruList_RemoveSelection(&manager->faces,
ftc_face_node_compare,
face_id);

Spotted in 2.3.11.

Michał Cichoń <thedmd>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by thedmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 14 Apr 2010 09:23:02 PM UTCwlAssigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.13
    Wed 14 Apr 2010 09:23:01 PM UTCwlStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1