Fix some copy-pasted code.

This commit is contained in:
Bill Nottingham 2018-05-16 22:16:20 -04:00
parent 5f5ad968f9
commit 519ce9fb81

View File

@ -129,8 +129,7 @@ gnc_configure_date_format (void)
/* Only a subset of the qof date formats is currently
* supported for date entry.
*/
if ((df > QOF_DATE_FORMAT_LOCALE)
|| (df > QOF_DATE_FORMAT_LOCALE))
if (df > QOF_DATE_FORMAT_LOCALE)
{
PERR("Incorrect date format");
return;