summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quote.c b/quote.c
index b1e9dba..0132b05 100644
--- a/quote.c
+++ b/quote.c
@@ -471,7 +471,7 @@ char *nasm_skip_string(char *str)
break;
}
}
- return p; /* Unterminated string... */
+ return p-1; /* Unterminated string... */
} else {
return str; /* Not a string... */
}