• Robert Sprowson's avatar
    Fix for NULL pointer dereference rendering text areas · aef282c2
    Robert Sprowson authored
    The state->column is only defined when there is text to flush, so after lexing pretty much any header item (eg. the version number "! 1") the check for having reached the terminating column results in a NULL pointer dereference.
    Tested with *Render TestFiles/TextArea, and a default area header prefixed by !Draw.
    
    Version 1.60. Tagged as 'DrawFile-1_60'
    aef282c2
textarea 34.3 KB