mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
[XSwiftBus] Added missing return
https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868
This commit is contained in:
committed by
Mat Sutcliffe
parent
3d1dad989e
commit
db81acf574
@@ -28,7 +28,7 @@ namespace XSwiftBus
|
|||||||
//! Init global xplane path
|
//! Init global xplane path
|
||||||
void initXPlanePath()
|
void initXPlanePath()
|
||||||
{
|
{
|
||||||
if (!g_xplanePath.empty() && !g_sep.empty()) {}
|
if (!g_xplanePath.empty() && !g_sep.empty()) { return; }
|
||||||
|
|
||||||
char xplanePath[512];
|
char xplanePath[512];
|
||||||
XPLMGetSystemPath(xplanePath);
|
XPLMGetSystemPath(xplanePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user