lexer: Factor some token inspectors out into new token functions.
[pspp] / src / language / xforms / recode.c
index 4f8acf6bbb9d1f05db5cdf707eafd9787c3dd306..b5e0e3fcdec34f8ffb4e0f4575aaea939ea30f75 100644 (file)
@@ -158,7 +158,7 @@ cmd_recode (struct lexer *lexer, struct dataset *ds)
          as the widest destination variable. */
       if (trns->dst_type == VAL_STRING)
        {
-         if ( ! enlarge_dst_widths (trns))
+         if (! enlarge_dst_widths (trns))
            {
              recode_trns_free (trns);
              return CMD_FAILURE;
@@ -667,7 +667,8 @@ find_src_string (struct recode_trns *trns, const uint8_t *value,
             char *error;
 
             error = data_in (ss_buffer (CHAR_CAST_BUG (char *, value), width),
-                             C_ENCODING, FMT_F, &uv, 0, encoding);
+                             C_ENCODING, FMT_F, settings_get_fmt_settings (),
+                             &uv, 0, encoding);
             match = error == NULL;
             free (error);