aboutsummaryrefslogtreecommitdiff
path: root/test/trie.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-12-09 13:13:14 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-12-09 13:13:14 +0100
commit5df24b640c4f1471eb6d7a38160e9d9330fbdc67 (patch)
tree2605c8f6206822531f8fb1c9ea08e89814f81823 /test/trie.cc
parent7a47cd331d30a780e7437b77aeb994c8ed2061b8 (diff)
share hyphenators between windows/tabs
Diffstat (limited to 'test/trie.cc')
-rw-r--r--test/trie.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/trie.cc b/test/trie.cc
index 628daabf..41b56c70 100644
--- a/test/trie.cc
+++ b/test/trie.cc
@@ -1,10 +1,7 @@
-#include "../dw/fltkcore.hh"
#include "../dw/hyphenator.hh"
int main (int argc, char *argv[])
{
- dw::fltk::FltkPlatform p;
-
if (argc < 2) {
fprintf(stderr, "Usage: trie <pattern file>\n");
exit (1);
@@ -12,6 +9,6 @@ int main (int argc, char *argv[])
/* Use pack = 1024 to create a really small trie - can take a while.
*/
- dw::Hyphenator hyphenator (&p, argv[1], NULL, 1024);
+ dw::Hyphenator hyphenator (argv[1], NULL, 1024);
hyphenator.saveTrie (stdout);
}