summaryrefslogtreecommitdiffstats
path: root/src/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.c')
-rw-r--r--src/types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.c b/src/types.c
index 3233323..8918d98 100644
--- a/src/types.c
+++ b/src/types.c
@@ -370,7 +370,7 @@ distinct_sum_items(recipe * dst, recipe * src)
for (int i = 0; i < src->in; i++) {
int n = item_exists(src->i[i]->name, dst);
if (n != -1) {
- char tmp[2048] = "";
+ char tmp[FODD_MAX_ARRAY] = "";
strcat(tmp, dst->i[n]->qty);
strcat(tmp, " + ");
strcat(tmp, src->i[i]->qty);