aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-07-07 15:46:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-07-07 15:46:07 +0300
commit02a9d7c4e6d029a0dc0069aa6d68a09c007794aa (patch)
treea0e617ae444a869bfd9e62d12112ede1c7907d6a /builtin.c
parent612b08553aa3595b55c744a18a51eb844a39592f (diff)
parentc8b9f5d5ac4e23a394dc79eccbfb824ddee531ef (diff)
downloadegawk-02a9d7c4e6d029a0dc0069aa6d68a09c007794aa.tar.gz
egawk-02a9d7c4e6d029a0dc0069aa6d68a09c007794aa.tar.bz2
egawk-02a9d7c4e6d029a0dc0069aa6d68a09c007794aa.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index b3eda933..6f42cc42 100644
--- a/builtin.c
+++ b/builtin.c
@@ -965,7 +965,7 @@ check_pos:
*cur = get_number_si(arg);
if (*cur < 0 && cur == &fw) {
*cur = -*cur;
- lj++;
+ lj = true;
}
if (cur == &prec) {
if (*cur >= 0)
@@ -992,7 +992,7 @@ check_pos:
goto retry;
}
fill = sp; /* if left justified then other */
- lj++; /* filling is ignored */
+ lj = true; /* filling is ignored */
goto check_pos;
case '.':
if (cur != &fw)