forked from pool/libvoikko
14 lines
496 B
Diff
14 lines
496 B
Diff
|
Index: libvoikko-2.1/src/grammar/grammar.cpp
|
||
|
===================================================================
|
||
|
--- libvoikko-2.1.orig/src/grammar/grammar.cpp
|
||
|
+++ libvoikko-2.1/src/grammar/grammar.cpp
|
||
|
@@ -27,7 +27,7 @@
|
||
|
namespace libvoikko {
|
||
|
|
||
|
void init_gc_error(voikko_grammar_error * gc_error) {
|
||
|
- memset(gc_error, 0, sizeof(gc_error));
|
||
|
+ memset(gc_error, 0, sizeof(voikko_grammar_error));
|
||
|
}
|
||
|
|
||
|
VOIKKOEXPORT voikko_grammar_error voikko_next_grammar_error_cstr(int handle, const char * text,
|