Skip to content
Browse files

[settings] - fix fetching the eventserver port as int from xbmchelper…

… - fixes #14329 i guess
  • Loading branch information...
1 parent c41eb71 commit abf7d8a71024ba009c2e4303bab47dacf5ecb5ab @Memphiz Memphiz committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 xbmc/osx/XBMCHelper.cpp
View
3 xbmc/osx/XBMCHelper.cpp
@@ -172,8 +172,7 @@ void XBMCHelper::Configure()
m_mode = CSettings::Get().GetInt("input.appleremotemode");
m_sequenceDelay = CSettings::Get().GetInt("input.appleremotesequencetime");
m_alwaysOn = CSettings::Get().GetBool("input.appleremotealwayson");
- CStdString port_string = CSettings::Get().GetString("services.esport");
- m_port = atoi(port_string.c_str());
+ m_port = CSettings::Get().GetInt("services.esport");
// Don't let it enable if sofa control or remote buddy is around.

0 comments on commit abf7d8a

Please sign in to comment.
Something went wrong with that request. Please try again.