diff --git a/src/Cockpit/panel_io.cxx b/src/Cockpit/panel_io.cxx index f77ff2626..763d40ac3 100644 --- a/src/Cockpit/panel_io.cxx +++ b/src/Cockpit/panel_io.cxx @@ -724,7 +724,7 @@ readPanel (const SGPropertyNode * root) // Get multibackground if any... // string mbgTexture = root->getStringValue("multibackground[0]"); - if (mbgTexture != "") { + if (mbgTexture != (string)"") { panel->setMultiBackground(FGTextureManager::createTexture(mbgTexture.c_str()), 0); SG_LOG( SG_COCKPIT, SG_INFO, "Set background texture to " << mbgTexture );