mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix an error in 906ed1fe
found by clang:
error: logical not is only applied to the left hand side of this comparison
This commit is contained in:
parent
f5c15214a3
commit
56441bd8c7
@ -981,7 +981,7 @@ qof_book_get_book_currency_unique_name (QofBook *book)
|
||||
/* No currency accounting method selected; therefore no book-currency */
|
||||
return NULL;
|
||||
|
||||
if (!strcmp (kvp_value_get_string (value), "book-currency") == 0)
|
||||
if (!(strcmp (kvp_value_get_string (value), "book-currency") == 0))
|
||||
/* Not book-currency currency accounting method; therefore no
|
||||
book-currency */
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user