88#include < string>
99#include < set>
1010#include " ../utils.h"
11+ #include " ../fmt.h"
1112
1213using namespace irr ;
1314
@@ -119,7 +120,7 @@ gui::CImageGUISkin* CGUISkinSystem::loadSkinFromFile(const fschar_t *skinname) {
119120 // is to make the registry write out the root node and see what comes out.
120121 // registry->writeFile("Skin",".");
121122
122- // To switch on the fly, we have to set the skin to the fallback skin first
123+ // To switch on the fly, we have to set the skin to the fallback skin first
123124 tmp = registry->getValueAsCStr (L" skin" , L" Skin/Properties/Fallback" );
124125 // Always default to metalic
125126 fallbackType = gui::EGST_WINDOWS_METALLIC;
@@ -156,7 +157,7 @@ gui::CImageGUISkin* CGUISkinSystem::loadSkinFromFile(const fschar_t *skinname) {
156157 skinConfig.CheckBoxColor = registry->getValueAsColor (L" Skin/Global/CheckBoxColor" );
157158
158159 // If there was no progress bar colors set, set them in the config to the defaults
159- // otherwise their 0,0,0,0. This is neccicary for the old klagui.
160+ // otherwise their 0,0,0,0. This is neccicary for the old klagui.
160161
161162 if (skinConfig.ProgressBarFilled .Color == 0 )
162163 skinConfig.ProgressBarFilled .Color = video::SColor (255 , 255 , 0 , 0 );
@@ -380,10 +381,10 @@ bool CGUISkinSystem::applySkin(const fschar_t *skinname) {
380381 }
381382 device->getGUIEnvironment ()->setSkin (skin);
382383 loaded_skin = skin;
383- // If we're going to switch skin we need to find all the progress bars and overwrite their colors
384+ // If we're going to switch skin we need to find all the progress bars and overwrite their colors
384385 skin->drop ();
385386 registry = nullptr ;
386387 // fs->changeWorkingDirectoryTo(oldpath);
387388
388389 return true ;
389- }
390+ }
0 commit comments