summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-03 21:22:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-03 21:22:16 -0700
commit0a98f6046d2cfd41916002c186909d7b0d2009de (patch)
tree964bdd62fa6e9dd25cbcba5e439be71c8b977d99 /nasm.c
parent8f303505eada73f6c70ae19b98b3ac44e0cf0480 (diff)
downloadnasm-0a98f6046d2cfd41916002c186909d7b0d2009de.tar.gz
BR 1352920: Handle upper case %line
Diffstat (limited to 'nasm.c')
-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));