From e305954e271892b593e1aa1a5eb0f43c1c10609e Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 25 Jan 2012 17:04:07 +0100 Subject: Fixed recently introduced crash bug when using the % and # operator, reported by Triffid Hunter diff --git a/src/mainwin.cc b/src/mainwin.cc index ff6ce3e..c0a0bff 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -788,7 +788,7 @@ void MainWindow::compileCSG(bool procevents) if (highlight_terms.size() > 0) { - PRINTB("Compiling highlights (%zu CSG Trees)...", highlight_terms.size()); + PRINTB("Compiling highlights (%d CSG Trees)...", highlight_terms.size()); if (procevents) QApplication::processEvents(); @@ -801,7 +801,7 @@ void MainWindow::compileCSG(bool procevents) if (background_terms.size() > 0) { - PRINTB("Compiling background (%zu CSG Trees)...", background_terms.size()); + PRINTB("Compiling background (%d CSG Trees)...", background_terms.size()); if (procevents) QApplication::processEvents(); -- cgit v0.10.1