mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Heath Martin's x86_64 patch.
* macros/autogen.sh: change "head -1" to "head -n 1" * src/engine/gnc-numeric.[ch]: change string_to_gnc_numeric() to return gboolean. * src/app-utils/gnc-exp-parser.c: * src/backend/file/sixtp-dom-parsers.c: use new string_to_gnc_numeric() API * src/engine/gnc-lot.c: 64-bit safe for x86_64 * src/gnome/dialog-scheduledxaction.c: * src/gnome/dialog-sxsincelast.c: * src/gnome/druid-loan.c: * src/gnome-utils/dialog-account.c: * src/gnome-utils/gnc-query-list.c: * src/import-export/import-match-map.c: use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10315 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -108,12 +108,12 @@ gnc_exp_parser_real_init ( gboolean addPredefined )
|
||||
else if (SCM_STRINGP (val_scm))
|
||||
{
|
||||
char *s;
|
||||
const char *err;
|
||||
gboolean err;
|
||||
|
||||
s = gh_scm2newstr (val_scm, NULL);
|
||||
|
||||
err = string_to_gnc_numeric (s, &value);
|
||||
if (err == NULL)
|
||||
if (err == FALSE)
|
||||
good = FALSE;
|
||||
|
||||
free (s);
|
||||
|
||||
Reference in New Issue
Block a user