From cae5a26057ced61f5191b9adf096c47b31f4a0e3 Mon Sep 17 00:00:00 2001 From: Keith Kanios Date: Sat, 6 Nov 2010 12:49:43 -0500 Subject: [PATCH] preproc.c: fixed spacing/tabs since from last commit --- preproc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/preproc.c b/preproc.c index 8ddb1223..508e09f6 100644 --- a/preproc.c +++ b/preproc.c @@ -1860,7 +1860,7 @@ static bool if_condition(Token * tline, enum preproc_token ct) tline->text[1] != '!'))) { error(ERR_NONFATAL, "`%s' expects environment variable names", - pp_directives[ct]); + pp_directives[ct]); goto fail; } p = tline->text; @@ -3612,15 +3612,15 @@ issue_error: } len = nasm_unquote(t->text, NULL); - /* make start and count being in range */ - if (start < 0) - start = 0; - if (count < 0) - count = len + count + 1 - start; - if (start + count > (int64_t)len) - count = len - start; - if (!len || count < 0 || start >=(int64_t)len) - start = -1, count = 0; /* empty string */ + /* make start and count being in range */ + if (start < 0) + start = 0; + if (count < 0) + count = len + count + 1 - start; + if (start + count > (int64_t)len) + count = len - start; + if (!len || count < 0 || start >=(int64_t)len) + start = -1, count = 0; /* empty string */ macro_start = nasm_malloc(sizeof(*macro_start)); macro_start->next = NULL; -- 2.11.4.GIT