summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2012-04-16 13:25:27 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2012-04-16 13:25:27 (GMT)
commit872b4c4eb1940a5cf380273dbde0b6079d51f83a (patch)
tree2a345c8d6f1e5ca5a441601cf38a620dd1769be0 /src
parentc2352afea1a4146a766235860994b53f81278dea (diff)
downloadmxe-872b4c4eb1940a5cf380273dbde0b6079d51f83a.zip
mxe-872b4c4eb1940a5cf380273dbde0b6079d51f83a.tar.gz
mxe-872b4c4eb1940a5cf380273dbde0b6079d51f83a.tar.bz2
Cleanup files
Diffstat (limited to 'src')
-rw-r--r--src/hunspell-test.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hunspell-test.cxx b/src/hunspell-test.cxx
index a66b434..67393d5 100644
--- a/src/hunspell-test.cxx
+++ b/src/hunspell-test.cxx
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
dic.close();
std::ofstream aff ("hunspell-test.aff");
aff << "SET UTF-8\nTRY loredWH\nMAXDIFF 1";
- aff.close();
+ aff.close();
Hunspell h("hunspell-test.aff", "hunspell-test.dic");
if (h.spell("Hello") == 0)
@@ -28,10 +28,10 @@ int main(int argc, char *argv[])
{
std::cerr << "Error: hunspell marked wrong word as correct" << std::endl;
}
-
+
char ** result;
int n = h.suggest(&result, "ell");
for (int i = 0; i < n; i++) std::cout << result[i];
-
+
return 0;
}