diff options
author | sgeerken <devnull@localhost> | 2012-07-09 00:46:52 +0200 |
---|---|---|
committer | sgeerken <devnull@localhost> | 2012-07-09 00:46:52 +0200 |
commit | 528de63c0e0258a9f626f2c79d89d6d49086d176 (patch) | |
tree | 268e82b699bd3f53d7d58684036560f7d1d148ef /test | |
parent | cbe5e631bdc8837d8ef3eea9053dacf70e974de7 (diff) |
Hyphenation exceptions. Some bug fixes.
Diffstat (limited to 'test')
-rw-r--r-- | test/liang.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/liang.cc b/test/liang.cc index d878420c..59aaa6d5 100644 --- a/test/liang.cc +++ b/test/liang.cc @@ -9,7 +9,7 @@ void hyphenateWord (dw::core::Platform *p, const char *word) int *breakPos = h->hyphenateWord (word, &numBreaks); for (int i = 0; i < numBreaks + 1; i++) { if (i != 0) - putchar ('-'); + printf ("\xc2\xad"); int start = (i == 0 ? 0 : breakPos[i - 1]); int end = (i == numBreaks ? strlen (word) : breakPos[i]); for (int j = start; j < end; j++) @@ -35,6 +35,7 @@ int main (int argc, char *argv[]) "übertragungsverordnung"); hyphenateWord (&p, "„Grundstücksverkehrsgenehmigungszuständigkeits" "übertragungsverordnung“"); + hyphenateWord (&p, "Grundstücksverkehrsgenehmigungszuständigkeit"); return 0; } |