fix compiation problems after merge

what is going on with this? why was critbit outdated?
This commit is contained in:
Enno Rehling 2015-12-05 18:45:03 +01:00
parent f747b4ee05
commit 435d801239
2 changed files with 7 additions and 4 deletions

@ -1 +1 @@
Subproject commit dfe57a077222c6b572da61a79dc0687f81c10055 Subproject commit 934c2dd94d41da19637a76a1a8b3dfeb7aa8524d

View File

@ -336,10 +336,13 @@ static void test_spell_syntax(CuTest *tc, char *msg, spell_fixture *spell, char
while (linestart && !strstr(linestart, "ZAUBERE")) while (linestart && !strstr(linestart, "ZAUBERE"))
linestart = strtok(NULL, "\n") ; linestart = strtok(NULL, "\n") ;
CuAssertTrue(tc, (bool) linestart); CuAssertPtrNotNull(tc, linestart);
while ((newline = strtok(NULL, "\n"))) newline = strtok(NULL, "\n");
*(newline-1) = '\n'; while (newline) {
*(newline - 1) = '\n';
newline = strtok(NULL, "\n");
}
CuAssertStrEquals_Msg(tc, msg, syntax, linestart); CuAssertStrEquals_Msg(tc, msg, syntax, linestart);