From 5d794819b0af061c4fea2897f81b00849d60facb Mon Sep 17 00:00:00 2001 From: Mienek Date: Thu, 23 Jan 2020 13:48:43 +0100 Subject: [PATCH] removed /* and*/ ... --- src/Layer/PaintingArea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Layer/PaintingArea.cpp b/src/Layer/PaintingArea.cpp index 36d55ab..b7d9e07 100644 --- a/src/Layer/PaintingArea.cpp +++ b/src/Layer/PaintingArea.cpp @@ -471,7 +471,7 @@ void PaintingArea::updateTools(){ } void PaintingArea::historyadd(){ -/* + if (++historyPresent == 100) historyPresent = 0; historyMaxFuture = historyPresent; if (historyPresent == historyMaxPast) if (++historyMaxPast == 100) historyMaxPast = 0; @@ -479,7 +479,7 @@ void PaintingArea::historyadd(){ for (unsigned long long i=0;i < layerBundle.size();i++) { - }*/ + } } void PaintingArea::historyGoBack(){