aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k <k2k@narod.ru>2014-01-08 18:32:56 +0400
committerKarlson2k <k2k@narod.ru>2014-01-08 18:32:56 +0400
commitec1cf22eaeaf3379b6b53f1016e4f99c8e6774b6 (patch)
tree52399b863243c7f1613a018c73bf988f2dca9605
parent7549d92d10718312a770db8dcba0d37459d8263a (diff)
Fix Mime parsing after 99c85944d83bb257c8056bbadd02b5fdb0e574b9
-rw-r--r--xbmc/utils/FileUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/FileUtils.cpp b/xbmc/utils/FileUtils.cpp
index e540eb48b6..a79c30dbae 100644
--- a/xbmc/utils/FileUtils.cpp
+++ b/xbmc/utils/FileUtils.cpp
@@ -252,7 +252,7 @@ bool CFileUtils::parseMimeType(const std::string& mimeType, std::string& type, s
pos++; // skip '/'
t = 0;
- while (mimeTypeC[pos] && whitespaceSmclnChars.find(mimeTypeC[pos]) != std::string::npos && t++ <= 127)
+ while (mimeTypeC[pos] && whitespaceSmclnChars.find(mimeTypeC[pos]) == std::string::npos && t++ <= 127)
{
const char chr = mimeTypeC[pos];
if (chr >= 'A' && chr <= 'Z')