summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-12-02 22:17:52 +0100
committerAlbert Astals Cid <aacid@kde.org>2019-12-02 22:17:52 +0100
commitfc9f0f12e88a21e8f15e9b881351e8515c9b6179 (patch)
treec987e83ab755563ab991d0ca84e99e6fa644f70a /fofi
parent77aa3a007598c4c4836f45d355642d7240f7432b (diff)
enable modernize-use-bool-literals
No copyright, this is a mechanical change
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiType1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fofi/FoFiType1.cc b/fofi/FoFiType1.cc
index 9974753e..a4d82f21 100644
--- a/fofi/FoFiType1.cc
+++ b/fofi/FoFiType1.cc
@@ -277,7 +277,7 @@ void FoFiType1::parse() {
}
for (p = buf; *p == ' ' || *p == '\t'; ++p) ;
if (!strncmp(p, "dup", 3)) {
- while (1) {
+ while (true) {
p += 3;
for (; *p == ' ' || *p == '\t'; ++p) ;
code = 0;