Revision: 1c3e99623986 Branch: default Author: Michael Whapples Date: Wed May 21 16:20:50 2014 UTC Log: Revert another spacing handling change http://code.google.com/p/liblouisutdml/source/detail?r=1c3e99623986 Modified: /liblouisutdml/transcriber.c ======================================= --- /liblouisutdml/transcriber.c Tue May 20 16:06:47 2014 UTC +++ /liblouisutdml/transcriber.c Wed May 21 16:20:50 2014 UTC @@ -1081,14 +1081,14 @@ { int length = strlen ((char *) node->content); int k; - int stripSpace = 0; + // int stripSpace = 0; lou_log(LOG_INFO, "Begin insert_text: node->content=%s", node->content); - for (k = length; k > 0 && node->content[k - 1] <= 32; k--) + for (k = length; k > 0 && node->content[k - 1] <= 32; k--); // We want to track if the node only contains space 0x20 characters - if (node->content[k - 1] != 32) - stripSpace = 1; - if (stripSpace == 0) - k = length; // We want to keep the spaces + // if (node->content[k - 1] != 32) + // stripSpace = 1; + // if (stripSpace == 0) + // k = length; // We want to keep the spaces if (k <= 0) return; if (k < length) For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com