diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index aa8591184..adb9f4758 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -68,9 +68,8 @@ TEST_CASE("Windows tests", "windowmanager") XML::initXML(); SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); - ResourceManager *resman = ResourceManager::getInstance(); - resman->addToSearchPath("data", false); - resman->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", false); + resourceManager->addToSearchPath("../data", false); mainGraphics = new SDLGraphics; imageHelper = new SDLImageHelper; userPalette = new UserPalette; |