summaryrefslogtreecommitdiff
path: root/indra/media_plugins/example/media_plugin_example.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 22:06:58 -0700
committercallum_linden <none@none>2014-10-17 22:06:58 -0700
commit3929725fe7eba9f020fc475ed4c4a959c18aea99 (patch)
tree0a4954378ef16d1152ceaa4e2851c6017f3f6a55 /indra/media_plugins/example/media_plugin_example.cpp
parentd3eaf6fe953e58aa52fa4977ea5117c352434059 (diff)
Update to build on Xcode 6.0: Use of unary operator might be an error
Diffstat (limited to 'indra/media_plugins/example/media_plugin_example.cpp')
-rwxr-xr-xindra/media_plugins/example/media_plugin_example.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/media_plugins/example/media_plugin_example.cpp b/indra/media_plugins/example/media_plugin_example.cpp
index da7de01799..66c00cd58c 100755
--- a/indra/media_plugins/example/media_plugin_example.cpp
+++ b/indra/media_plugins/example/media_plugin_example.cpp
@@ -363,10 +363,10 @@ void MediaPluginExample::update( F64 milliseconds )
};
if ( mXpos[ n ] + mXInc[ n ] < 0 || mXpos[ n ] + mXInc[ n ] >= mWidth - mBlockSize[ n ] )
- mXInc[ n ] =- mXInc[ n ];
+ mXInc[ n ]= -mXInc[ n ];
if ( mYpos[ n ] + mYInc[ n ] < 0 || mYpos[ n ] + mYInc[ n ] >= mHeight - mBlockSize[ n ] )
- mYInc[ n ] =- mYInc[ n ];
+ mYInc[ n ]= -mYInc[ n ];
mXpos[ n ] += mXInc[ n ];
mYpos[ n ] += mYInc[ n ];