Minor cleanup.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3109 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2000-11-01 11:50:12 +00:00
parent 8ee5befe6b
commit 517b8a8cb2
3 changed files with 3 additions and 5 deletions
-2
View File
@@ -39,8 +39,6 @@
#include "gnc-commodity.h"
#include "gnc-numeric.h"
#define BUFSIZE 1024
/** DEBUGGING MACROS ************************************************/
/* The debuging macros enable the setting of trace messages */
+1 -1
View File
@@ -632,7 +632,7 @@ const char *
DxaccPrintAmount (double val, GNCPrintAmountInfo info)
{
/* hack alert -- this is not thread safe ... */
static char buf[BUFSIZE];
static char buf[1024];
DxaccSPrintAmount (buf, val, info);
+2 -2
View File
@@ -52,8 +52,8 @@ int gnc_locale_decimal_places(void);
/*
* The xaccPrintAmount() and xaccSPrintAmount() routines provide
* i18n'ed convenience routines for printing gnc_numerics.
* amounts. Both routines take a gnc_numeric argument and an
* printing information object.
* amounts. Both routines take a gnc_numeric argument and
* a printing information object.
*
* The xaccPrintAmount() routine returns a pointer to a statically
* allocated buffer, and is therefore not thread-safe.