diff options
Diffstat (limited to 'FICS/formula.c')
-rw-r--r-- | FICS/formula.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/formula.c b/FICS/formula.c index 399fce6..04b315e 100644 --- a/FICS/formula.c +++ b/FICS/formula.c @@ -605,7 +605,7 @@ ExplainFormula(game *g, textlist **clauses) continue; dummy_index = 0; CheckFormula(g, i, &dummy_index, OPTYPE_NONE, &value, 1); - sprintf(txt, "%d", value); + snprintf(txt, sizeof txt, "%d", value); SaveTextListEntry(Cur, txt, i); Cur = &(*Cur)->next; } |