summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/preproc.c b/preproc.c
index 3a338584..ac289ca3 100644
--- a/preproc.c
+++ b/preproc.c
@@ -2679,8 +2679,8 @@ static int do_directive(Token * tline)
if (t->next)
error(ERR_WARNING,
"trailing garbage after `%%pathsearch' ignored");
- p = tline->text;
- if (tline->type != TOK_INTERNAL_STRING)
+ p = t->text;
+ if (t->type != TOK_INTERNAL_STRING)
nasm_unquote(p);
fp = inc_fopen(p, &xsl, &xsl, true);