Skip to content
This repository
Browse code

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

… - fixes #14329 i guess
  • Loading branch information...
commit abf7d8a71024ba009c2e4303bab47dacf5ecb5ab 1 parent c41eb71
Memphiz authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  xbmc/osx/XBMCHelper.cpp
3  xbmc/osx/XBMCHelper.cpp
@@ -172,8 +172,7 @@ void XBMCHelper::Configure()
172 172
   m_mode = CSettings::Get().GetInt("input.appleremotemode");
173 173
   m_sequenceDelay = CSettings::Get().GetInt("input.appleremotesequencetime");
174 174
   m_alwaysOn = CSettings::Get().GetBool("input.appleremotealwayson");
175  
-  CStdString port_string = CSettings::Get().GetString("services.esport");
176  
-  m_port = atoi(port_string.c_str());
  175
+  m_port = CSettings::Get().GetInt("services.esport");
177 176
 
178 177
 
179 178
   // Don't let it enable if sofa control or remote buddy is around.

0 notes on commit abf7d8a

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