aboutsummaryrefslogtreecommitdiff
path: root/src/meta.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/meta.c')
-rw-r--r--src/meta.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/meta.c b/src/meta.c
index eb332f5..c415cd0 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -51,7 +51,7 @@ find_expansion_word (const char *kw, size_t len,
char *
meta_expand_string (const char *string, struct metadef *def, void *data,
- struct access_method *method, void *handle)
+ struct dictionary *dict, void *handle)
{
const char *p, *s;
char *res;
@@ -82,12 +82,12 @@ meta_expand_string (const char *string, struct metadef *def, void *data,
e = strchr (p + 1, '}');
if (e && (s = find_expansion_word (p + 1, e - p - 1, def, data)))
{
- if (method)
+ if (dict)
{
char *newval;
size_t len;
/* FIXME: Return value? */
- method_quote_string (method, handle, s, &newval, &len);
+ dictionary_quote_string (dict, handle, s, &newval, &len);
obstack_grow (&stk, newval, len);
free (newval);
}
@@ -111,12 +111,12 @@ meta_expand_string (const char *string, struct metadef *def, void *data,
len = 1;
}
- if (method)
+ if (dict)
{
char *newval;
size_t len;
/* FIXME: Return value? */
- method_quote_string (method, handle, s, &newval, &len);
+ dictionary_quote_string (dict, handle, s, &newval, &len);
obstack_grow (&stk, newval, len);
free (newval);
}

Return to:

Send suggestions and report system problems to the System administrator.