aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-08-21 13:21:34 +0200
committermontellese <montellese@xbmc.org>2014-08-21 13:21:34 +0200
commitf41af783301c8a234b17a34dd9ce6f695ffd2fd6 (patch)
treea87c5aaf7eaed335b4e1d0d63c64bcff4e7195b6
parent92ecdb03d0e4e8d47c97d6e751ead08ad8af449d (diff)
jsonrpc: fix detection of alpha build versions
-rw-r--r--xbmc/interfaces/json-rpc/ApplicationOperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/interfaces/json-rpc/ApplicationOperations.cpp b/xbmc/interfaces/json-rpc/ApplicationOperations.cpp
index 48117b9c1c..635274114c 100644
--- a/xbmc/interfaces/json-rpc/ApplicationOperations.cpp
+++ b/xbmc/interfaces/json-rpc/ApplicationOperations.cpp
@@ -124,7 +124,7 @@ JSONRPC_STATUS CApplicationOperations::GetPropertyValue(const std::string &prope
result["minor"] = CCompileInfo::GetMinor();
result["revision"] = CCompileInfo::GetSCMID();
std::string tag = CCompileInfo::GetSuffix();
- if (StringUtils::EqualsNoCase(tag, "pre"))
+ if (StringUtils::StartsWithNoCase(tag, "alpha"))
result["tag"] = "alpha";
else if (StringUtils::StartsWithNoCase(tag, "beta"))
result["tag"] = "beta";