summaryrefslogtreecommitdiff
path: root/src/ui/ui_invoices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_invoices.cpp')
-rw-r--r--src/ui/ui_invoices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/ui_invoices.cpp b/src/ui/ui_invoices.cpp
index acf0de7..0256fbd 100644
--- a/src/ui/ui_invoices.cpp
+++ b/src/ui/ui_invoices.cpp
@@ -87,7 +87,7 @@ void draw_tax_bracket_selector(char* tax_bracket_id)
}
if (selected_tax_bracket_index != -1) {
- strops_copy(tax_bracket_id, buffer[selected_tax_bracket_index].id, 16);
+ strops_copy(tax_bracket_id, buffer[selected_tax_bracket_index].id, MAX_LEN_ID);
}
}
@@ -180,7 +180,7 @@ void draw_costcenter_selector(char* costcenter_id)
}
if (selected_costcenter_index != -1) {
- strops_copy(costcenter_id, buffer[selected_costcenter_index].id, 16);
+ strops_copy(costcenter_id, buffer[selected_costcenter_index].id, MAX_LEN_ID);
}
}
@@ -219,7 +219,7 @@ void draw_project_selector(char* project_id)
}
if (selected_project_index != -1) {
- strops_copy(project_id, buffer[selected_project_index].id, 16);
+ strops_copy(project_id, buffer[selected_project_index].id, MAX_LEN_ID);
}
free(buffer);