projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'HEAD'; commit 'savannah/master'
[pspp-builds.git]
/
src
/
data
/
data-in.c
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index cde7c07f8c58b0272e465be98bf64e53fb330956..a6544afbbeb7c338b10f4fe9a978c649fb910e37 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-27,6
+27,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
+#include <limits.h>
#include "calendar.h"
#include "identifier.h"
#include "calendar.h"
#include "identifier.h"
@@
-171,7
+172,10
@@
parse_number (struct data_in *i)
int save_errno;
char *tail;
int save_errno;
char *tail;
- assert (fmt_get_category (i->format) != FMT_CAT_CUSTOM);
+ if (fmt_get_category (i->format) == FMT_CAT_CUSTOM)
+ {
+ style = settings_get_style (FMT_F);
+ }
/* Trim spaces and check for missing value representation. */
if (trim_spaces_and_check_missing (i))
/* Trim spaces and check for missing value representation. */
if (trim_spaces_and_check_missing (i))