Klaus Basan
2020-03-18 23:07:49 +01:00
committed by Mat Sutcliffe
parent 3d1dad989e
commit db81acf574

View File

@@ -28,7 +28,7 @@ namespace XSwiftBus
//! Init global xplane path
void initXPlanePath()
{
if (!g_xplanePath.empty() && !g_sep.empty()) {}
if (!g_xplanePath.empty() && !g_sep.empty()) { return; }
char xplanePath[512];
XPLMGetSystemPath(xplanePath);