Mercurial > mxe-octave
changeset 2414:639f0e5a9afa
Cleanup files
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 16 Apr 2012 15:25:27 +0200 |
parents | c906500af274 |
children | d84bf9fcb368 |
files | src/hunspell-test.cxx |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hunspell-test.cxx Mon Apr 16 14:54:31 2012 +0200 +++ b/src/hunspell-test.cxx Mon Apr 16 15:25:27 2012 +0200 @@ -17,7 +17,7 @@ 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 @@ { 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; }