src/gui/components/cc_item_progressbar.cpp revert static

This commit is contained in:
Jacek Jendrzej
2017-01-30 19:26:44 +01:00
parent 0056a53321
commit f045fb18e9

View File

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