mirror of https://github.com/Gnucash/gnucash
Instead of setlocale(LC_ALL, NULL). The uses for the string either create an ICU locale or sort between German and US TXF reports. On some OSes where the user has different locales set for one or more categories LC_ALL produces a dump of all of the LC_FOO variables and their values. That's not useful for comparing to de_DE and it's too long for ICU, which crashes. Meanwhile in dialog-print-checks the RV of setlocale was ignored, rendering the call a no-op.pull/2108/head
parent
29b1330e5b
commit
d8c68cce9e
Loading…
Reference in new issue