diff options
Diffstat (limited to 'src/countries.cpp')
| -rw-r--r-- | src/countries.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/countries.cpp b/src/countries.cpp index 337b10b..34aacf1 100644 --- a/src/countries.cpp +++ b/src/countries.cpp @@ -312,5 +312,7 @@ u32 country::get_available_tax_rates(char* country_code, tax_rate* buffer, u32 b s32 index = get_index_by_country_code(country_code); assert(index != -1); + if (!country_map[index].get_available_tax_rates) return 0; + return country_map[index].get_available_tax_rates(buffer, buffer_size); }
\ No newline at end of file |
