[liblouis-liblouisxml] [liblouisutdml] push by mwhapples - Added support for tables where missing cells in first row. on 2014-03-26 12:57 GMT

  • From: liblouisutdml@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 26 Mar 2014 12:57:13 +0000

Revision: a46fca722acf
Branch:   default
Author:   Michael Whapples
Date:     Wed Mar 26 13:06:18 2014 UTC
Log:      Added support for tables where missing cells in first row.
http://code.google.com/p/liblouisutdml/source/detail?r=a46fca722acf

Modified:
 /liblouisutdml/transcriber.c

=======================================
--- /liblouisutdml/transcriber.c        Wed Mar 26 11:22:20 2014 UTC
+++ /liblouisutdml/transcriber.c        Wed Mar 26 13:06:18 2014 UTC
@@ -5147,6 +5147,11 @@
              numRows++;
              if (rowEnd == 0)
                rowEnd = colLength;
+             // Protect against first row being short on entries
+             if (colNum > numCols)
+               {
+                 numCols = colNum;
+               }
              colLength = 0;
              colNum = 0;
              bufPos++;
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouisutdml] push by mwhapples - Added support for tables where missing cells in first row. on 2014-03-26 12:57 GMT - liblouisutdml