src/gui/components/cc_frm_icons.cpp: fix typo, add missing include

This commit is contained in:
2018-03-14 12:15:49 +01:00
parent 188ffb4690
commit 7dae8aa77e

View File

@@ -29,6 +29,7 @@
#include <global.h> #include <global.h>
#include <neutrino.h> #include <neutrino.h>
#include "cc_frm_icons.h" #include "cc_frm_icons.h"
#include <system/debug.h>
using namespace std; using namespace std;
@@ -96,7 +97,7 @@ void CComponentsIconForm::addIcon(std::vector<std::string> icon_name)
void CComponentsIconForm::addIcons(const std::string& icon_name, const size_t& count) void CComponentsIconForm::addIcons(const std::string& icon_name, const size_t& count)
{ {
if (count == 0){ if (count == 0){
dprintf(DEBUG_<NORMAL "[CComponentsIconForm]\t[%s - %d], NOTE: no count of items defined...\n", __func__, __LINE__); dprintf(DEBUG_NORMAL, "[CComponentsIconForm]\t[%s - %d], NOTE: no count of items defined...\n", __func__, __LINE__);
return; return;
} }
for (size_t i = 1; i <= count; i++) for (size_t i = 1; i <= count; i++)