Skip to content

Commit

Permalink
Apply Ripley's patch (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: topepo <[email protected]>
  • Loading branch information
DavisVaughan and topepo authored Jul 2, 2024
1 parent f326f02 commit d96e5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ void PrintRule(CRule R)
snprintf(Entry, size, "%s =", AttName[ClassAtt]);
Indent = CharWidth(Entry);

snprintf(Entry + Indent, size, " %.14g", Model[0]);
snprintf(Entry + Indent, size - Indent, " %.14g", Model[0]);
fprintf(Of, "\t%s", Entry);
LineLen = CharWidth(Entry);

Expand Down

0 comments on commit d96e5f1

Please sign in to comment.