From 670264d93a362a3b987c6da62511ac49cd07b048 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Jun 2016 21:09:14 +0300 Subject: Show asserts for most errors in resource dbs. --- src/resources/db/palettedb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/db/palettedb.cpp') diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp index 4a233d67b..1b7f97029 100644 --- a/src/resources/db/palettedb.cpp +++ b/src/resources/db/palettedb.cpp @@ -23,6 +23,7 @@ #include "configuration.h" #include "logger.h" +#include "utils/checkutils.h" #include "utils/files.h" #include "resources/dye/dyecolor.h" @@ -58,7 +59,7 @@ void PaletteDB::loadPalette() } if (*it != "GIMP Palette") { - logger->log("wrong GIMP palette file"); + reportAlways("wrong GIMP palette file"); return; } ++ it; -- cgit v1.2.3-70-g09d2