some inits

This commit is contained in:
Jacek Jendrzej
2017-01-30 19:04:17 +01:00
parent f4f351e9ba
commit 0056a53321
3 changed files with 3 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ CProgressBarCache *CProgressBarCache::pbcLookup(int dy, int dx, int active_col,
if (it != pbCache.end())
return *it;
CProgressBarCache *pbc = new CProgressBarCache(dy, dx, active_col, passive_col, design, enable_invert, enable_gradient, R, G, Y);
static CProgressBarCache *pbc = new CProgressBarCache(dy, dx, active_col, passive_col, design, enable_invert, enable_gradient, R, G, Y);
pbCache.push_back(pbc);
return pbc;
}