summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index b28f4f77..b7c1c66b 100644
--- a/nasm.c
+++ b/nasm.c
@@ -1682,7 +1682,7 @@ static char *no_pp_getline(void)
*/
buffer[strcspn(buffer, "\r\n\032")] = '\0';
- if (!strncmp(buffer, "%line", 5)) {
+ if (!nasm_strnicmp(buffer, "%line", 5)) {
int32_t ln;
int li;
char *nm = nasm_malloc(strlen(buffer));