summaryrefslogtreecommitdiff
path: root/src/ui/ui_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_settings.cpp')
-rw-r--r--src/ui/ui_settings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/ui_settings.cpp b/src/ui/ui_settings.cpp
index 79d65da..e497615 100644
--- a/src/ui/ui_settings.cpp
+++ b/src/ui/ui_settings.cpp
@@ -85,13 +85,13 @@ static void ui_draw_vat_rates()
// Check for fixed rates shared accross countries.
if (strcmp(c.country_code, "00") == 0)
{
- strops_copy(prev_country, c.country_code, 3);
+ strops::copy(prev_country, c.country_code, 3);
can_be_modified = false;
}
// Generate headers per country.
else if (strcmp(c.country_code, prev_country) != 0)
{
- strops_copy(prev_country, c.country_code, 3);
+ strops::copy(prev_country, c.country_code, 3);
// Empty row.
ImGui::TableNextRow();
@@ -118,7 +118,7 @@ static void ui_draw_vat_rates()
is_adding_item = true;
is_editing_item = false;
new_tax_rate = administration_tax_rate_create_empty();
- strops_copy(new_tax_rate.country_code, c.country_code, 3);
+ strops::copy(new_tax_rate.country_code, c.country_code, 3);
}
ImGui::PopStyleVar();
}