mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-10 04:58:26 -05:00
Minor cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3109 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -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
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user