diff --git a/src/engine/gnc-engine-util.h b/src/engine/gnc-engine-util.h index f1d3691780..86b37ecc3c 100644 --- a/src/engine/gnc-engine-util.h +++ b/src/engine/gnc-engine-util.h @@ -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 */ diff --git a/src/gnc-ui-util.c b/src/gnc-ui-util.c index 2923c601c0..1e6919659d 100644 --- a/src/gnc-ui-util.c +++ b/src/gnc-ui-util.c @@ -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); diff --git a/src/gnc-ui-util.h b/src/gnc-ui-util.h index 6ad00ce153..f1bce9380b 100644 --- a/src/gnc-ui-util.h +++ b/src/gnc-ui-util.h @@ -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.