aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-05-08 08:58:47 +0000
committerjmarshallnz <jmarshallnz@svn>2010-05-08 08:58:47 +0000
commitf007d60dd97199fd312756adbe391b44be269c21 (patch)
treeeebdf38d110356370b19ba4e786b44b52ee00fe2 /guilib
parent03bd97536bad0fde535cfd6ac4eb093ee8b9c596 (diff)
fixed: Incorrect paranthesis change
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29924 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/DDSImage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/DDSImage.cpp b/guilib/DDSImage.cpp
index 84d35c2b00..4b67aaf031 100644
--- a/guilib/DDSImage.cpp
+++ b/guilib/DDSImage.cpp
@@ -163,7 +163,7 @@ bool CDDSImage::Compress(unsigned int width, unsigned int height, unsigned int p
double colorMSE, alphaMSE;
squish::ComputeMSE(brga, width, height, pitch, m_data, squish::kDxt1 | squish::kSourceBGRA, colorMSE, alphaMSE);
- if ((!maxMSE || colorMSE) < maxMSE && alphaMSE < maxMSE)
+ if (!maxMSE || (colorMSE < maxMSE && alphaMSE < maxMSE))
fourCC = "DXT1";
else
{