Revision: 177c9c8bc2e0 Branch: default Author: Michael Whapples Date: Thu Jul 31 15:52:50 2014 UTC Log: fix an issue with boxline http://code.google.com/p/liblouisutdml/source/detail?r=177c9c8bc2e0 Modified: /liblouisutdml/transcriber.c ======================================= --- /liblouisutdml/transcriber.c Thu Jul 31 11:05:26 2014 UTC +++ /liblouisutdml/transcriber.c Thu Jul 31 15:52:50 2014 UTC @@ -3566,6 +3566,7 @@ // Create the brl node for the boxline brlNode = xmlNewNode(NULL, (const xmlChar *)"brl"); // Find a complete blank line + availableCells = utd_startLine(); while (availableCells != ud->cells_per_line) { utd_finishLine(0, 0); @@ -5046,6 +5047,8 @@ int k; int leaveBlank; int horizLinePos = ud->page_left + leadingBlanks * ud->cell_width; + if (newlineNode == NULL) + return 1; logMessage(LOG_DEBUG, "Begin utd_finishLine"); cellsOnLine = leadingBlanks + length; for (leaveBlank = -1; leaveBlank < ud->line_spacing; leaveBlank++) For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com