Tweak a warning message to provide more info.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6827 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2002-05-07 03:22:04 +00:00
parent dfbb270c2c
commit 5518f193e7

View File

@ -1510,7 +1510,8 @@ PrintAmountInternal(char *buf, gnc_numeric val, const GNCPrintAmountInfo *info)
if (num_decimal_places > info->max_decimal_places) if (num_decimal_places > info->max_decimal_places)
{ {
PWARN ("max_decimal_places too small"); PWARN ("max_decimal_places too small; limit %d, value %s%s",
info->max_decimal_places, buf, temp_buf);
} }
if (num_decimal_places > 0) if (num_decimal_places > 0)