[liblouis-liblouisxml] [liblouis] r620 committed - Another inputPos bugfix (for cases where startMatch!=startReplace)

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 15 May 2012 11:44:29 +0000

Revision: 620
Author:   bertfrees@xxxxxxxxx
Date:     Tue May 15 04:44:11 2012
Log:      Another inputPos bugfix (for cases where startMatch!=startReplace)
http://code.google.com/p/liblouis/source/detail?r=620

Modified:
 /trunk/liblouis/transcommon.ci

=======================================
--- /trunk/liblouis/transcommon.ci      Mon May 14 05:12:03 2012
+++ /trunk/liblouis/transcommon.ci      Tue May 15 04:44:11 2012
@@ -873,7 +873,7 @@
        if ((dest + passInstructions[passIC + 1]) > destmax)
          return 0;
        for (k = 0; k < passInstructions[passIC + 1]; ++k)
-         srcMapping[dest + k] = prevSrcMapping[startMatch];
+         srcMapping[dest + k] = prevSrcMapping[startReplace];
        memcpy (&currentOutput[dest], &passInstructions[passIC + 2],
                passInstructions[passIC + 1] * CHARSIZE);
        dest += passInstructions[passIC + 1];
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] r620 committed - Another inputPos bugfix (for cases where startMatch!=startReplace) - liblouis