Commit: fix bug in GR_UnixGraphic::setFont

From: Marc Maurer (j.m.maurer@student.utwente.nl)
Date: Fri Jul 11 2003 - 19:21:16 EDT

  • Next message: Marc Maurer: "GDA Success!"

    Fix a (IMO) very subtle bug in setFont that lead to illegal memory
    accesses caused by outside forces deleting fonts while they are still
    referenced in the GR_UnixGraphics class.

    This problem could trigger an illegal memory access in, for example,
    xap_Preview_Zoom.cpp line 88 and 89.

    Marc

    Fix bug in setFont causing illegal memory accesses all over the place
                                                                                                                                                                                    
    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: ./src/af/gr/unix/gr_UnixGraphics.cpp
    CVS:
    ----------------------------------------------------------------------

    -- 
    Marc Maurer <j.m.maurer@student.utwente.nl>
    


    This archive was generated by hypermail 2.1.4 : Fri Jul 11 2003 - 19:28:26 EDT