diff options
author | callum_linden <none@none> | 2014-10-17 22:06:58 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2014-10-17 22:06:58 -0700 |
commit | 3929725fe7eba9f020fc475ed4c4a959c18aea99 (patch) | |
tree | 0a4954378ef16d1152ceaa4e2851c6017f3f6a55 | |
parent | d3eaf6fe953e58aa52fa4977ea5117c352434059 (diff) |
Update to build on Xcode 6.0: Use of unary operator might be an error
-rwxr-xr-x | indra/media_plugins/example/media_plugin_example.cpp | 4 |
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 ]; |