diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-04 16:53:57 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-04 16:53:57 +0200 |
| commit | f9f1955748a3b369f0a015405af131c9b6e3285c (patch) | |
| tree | c74cec6b30daccee2d1841627b3913c51fd549e3 /src/ui/ui_settings.cpp | |
| parent | 2855642dd16cea260f3b32351f0529328a0bcb15 (diff) | |
namespace for logger, strops, locales
Diffstat (limited to 'src/ui/ui_settings.cpp')
| -rw-r--r-- | src/ui/ui_settings.cpp | 6 |
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(); } |
