#include "str.h"
#include "var.h"
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
/* Implementation details:
The S?SS manuals do not specify the order that COUNT subcommands are
}
}
else
- st_trim_copy (cnt->n, tokid, sizeof cnt->n);
+ str_copy_trunc (cnt->n, sizeof cnt->n, tokid);
lex_get ();
if (!lex_force_match ('='))
cur = &c->crit.s[n++];
cur->type = CNT_SINGLE;
cur->s = malloc (len + 1);
- st_pad_copy (cur->s, ds_c_str (&tokstr), len + 1);
+ str_copy_rpad (cur->s, len + 1, ds_c_str (&tokstr));
lex_get ();
lex_match (',');
counter++;
continue;
}
- if (cnt->missing >= 2 && is_num_user_missing (cmp, cnt->v[i]))
+ if (cnt->missing >= 2 && mv_is_num_user_missing (&cnt->v[i]->miss, cmp))
{
counter++;
continue;