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:
Mike Alexander 2015-03-03 21:13:45 -05:00
parent f5c15214a3
commit 56441bd8c7

View File

@ -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;