diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-19 19:36:36 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-19 19:36:36 +0200 |
| commit | 7aea21f2a30e0aa3bc75a579bd01ff9746470c05 (patch) | |
| tree | e0897a6d4c0414be48cbdfcf565c813572d2ddfd /src/ui/ui_invoices.cpp | |
| parent | b34be3482e4a322a1198873f4ba3265d8a82e58d (diff) | |
replace strcmp with strops function
Diffstat (limited to 'src/ui/ui_invoices.cpp')
| -rw-r--r-- | src/ui/ui_invoices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_invoices.cpp b/src/ui/ui_invoices.cpp index 4ae1669..277ce46 100644 --- a/src/ui/ui_invoices.cpp +++ b/src/ui/ui_invoices.cpp @@ -137,7 +137,7 @@ void draw_invoice_items_form(invoice* invoice, bool outgoing) ImGui::TableSetColumnIndex(8); ImGui::Text("%.2f %s", invoice->orig_total, invoice->currency); - if (strcmp(invoice->currency, administration::get_default_currency()) != 0) { + if (!strops::equals(invoice->currency, administration::get_default_currency())) { ImGui::TableNextRow(); ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, IM_COL32(50, 50, 50, 255)); |
