Revision: 1126 Author: mwhapples@xxxxxxxxx Date: Wed Mar 12 14:47:47 2014 UTCLog: Change to use the ENDSEGMENT constant so that it will always work with current definition.
http://code.google.com/p/liblouis/source/detail?r=1126 Modified: /trunk/liblouis/lou_translateString.c ======================================= --- /trunk/liblouis/lou_translateString.c Wed Mar 12 12:23:08 2014 UTC +++ /trunk/liblouis/lou_translateString.c Wed Mar 12 14:47:47 2014 UTC @@ -1882,7 +1882,7 @@ int hasEndSegment = 0; while (dest > 0 && checkAttr (currentOutput[dest - 1], CTC_Space, 1)) { - if (currentOutput[dest - 1] == 0xffff) + if (currentOutput[dest - 1] == ENDSEGMENT) { hasEndSegment = 1; } For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com