modernize C++: use bool literals

This commit is contained in:
wmayer
2023-08-05 23:44:44 +02:00
committed by wwmayer
parent 51a34d1fbd
commit 2a88c7c7df
25 changed files with 46 additions and 46 deletions

View File

@@ -122,8 +122,8 @@ public:
}
void init()
{
page->m_atCursor = hGrp->GetBool("ZoomAtCursor", 1l);
page->m_invertZoom = hGrp->GetBool("InvertZoom", 0l);
page->m_atCursor = hGrp->GetBool("ZoomAtCursor", true);
page->m_invertZoom = hGrp->GetBool("InvertZoom", false);
page->m_zoomIncrement = hGrp->GetFloat("ZoomStep", 0.02);
page->m_reversePan = Preferences::getPreferenceGroup("General")->GetInt("KbPan", 1);