From 7aeb938f86accc0c5d557c786a8dd40ed1b8db3b Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 21 Jan 2019 00:12:54 +0300 Subject: [PATCH] and -> && --- limereport/lrreportrender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/lrreportrender.cpp b/limereport/lrreportrender.cpp index 6bfbc44..c5b59a3 100644 --- a/limereport/lrreportrender.cpp +++ b/limereport/lrreportrender.cpp @@ -1560,7 +1560,7 @@ void PagesRanges::addTOCPage() if (tocRange.firstPage == 0) { tocRange.firstPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage; tocRange.lastPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage; - if (tocRange.lastPage == 1 and tocRange.lastPage == 1) + if (tocRange.lastPage == 1 && tocRange.lastPage == 1) shiftRangesNextToTOC(); } else { tocRange.lastPage++;