[liblouis-liblouisxml] [liblouis] r565 committed - Simple change to factor the table name into a variable

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 13 Apr 2012 12:34:20 +0000

Revision: 565
Author:   christian.egli@xxxxxxxxxxxxxx
Date:     Fri Apr 13 05:33:51 2012
Log:      Simple change to factor the table name into a variable

http://code.google.com/p/liblouis/source/detail?r=565

Modified:
 /trunk/tests/pass2.c

=======================================
--- /trunk/tests/pass2.c        Fri Mar 23 08:52:09 2012
+++ /trunk/tests/pass2.c        Fri Apr 13 05:33:51 2012
@@ -7,13 +7,14 @@
 main(int argc, char **argv)
 {

+  const char* table = "pass2.ctb";
   int result = 0;

   /* First check a plain word to see if the table works */
-  result = check_translation("pass2.ctb", "Rene", NULL, "rene");
+  result = check_translation(table, "Rene", NULL, "rene");

   /* then try a word which uses pass2 */
-  result |= check_translation("pass2.ctb", "Reno", NULL, "ren'o");
+  result |= check_translation(table, "Reno", NULL, "ren'o");

   return result;
 }
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] r565 committed - Simple change to factor the table name into a variable - liblouis