Commit aef282c2 authored by Committed by ROOLBrowse files
Fix for NULL pointer dereference rendering text areas
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'
Showing with 13 additions and 15 deletions