[liblouis-liblouisxml] [liblouis] r666 committed - Fixing first and last bugs in multi9pass opcodes

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sun, 03 Jun 2012 02:14:48 +0000

Revision: 666
Author:   john.boyer@xxxxxxxxxxxxxxxxx
Date:     Sat Jun  2 19:14:33 2012
Log:      Fixing first and last bugs in multi9pass opcodes
http://code.google.com/p/liblouis/source/detail?r=666

Modified:
 /trunk/liblouis/compileTranslationTable.c
 /trunk/liblouis/transcommon.ci

=======================================
--- /trunk/liblouis/compileTranslationTable.c   Fri Jun  1 14:22:42 2012
+++ /trunk/liblouis/compileTranslationTable.c   Sat Jun  2 19:14:33 2012
@@ -3189,6 +3189,7 @@
        case pass_not:
        case pass_startReplace:
        case pass_endReplace:
+       case pass_first:
          passIC++;
          break;
        default:
=======================================
--- /trunk/liblouis/transcommon.ci      Tue May 15 04:44:11 2012
+++ /trunk/liblouis/transcommon.ci      Sat Jun  2 19:14:33 2012
@@ -699,7 +699,7 @@
          passIC++;
          break;
        case pass_last:
-         if (passSrc != (srcmax - 1))
+         if (passSrc != srcmax)
            itsTrue = 0;
          passIC++;
          break;
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] [liblouis] r666 committed - Fixing first and last bugs in multi9pass opcodes - liblouis