diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 05:07:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 05:07:55 +0400 |
commit | 471c005137540dd4c348c2f8e93146c0dff37a3f (patch) | |
tree | 8321e1ab728ee956b651514b4aef06c3eccb572d /source/gameengine/VideoTexture | |
parent | 79249f8aede5c5481c625335b5ef7bd9b4cf28cc (diff) |
typo fix: end of lines ;; --> ;
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r-- | source/gameengine/VideoTexture/FilterColor.h | 2 | ||||
-rw-r--r-- | source/gameengine/VideoTexture/ImageMix.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/VideoTexture/FilterColor.h b/source/gameengine/VideoTexture/FilterColor.h index 2478727a6be..d0536ed2801 100644 --- a/source/gameengine/VideoTexture/FilterColor.h +++ b/source/gameengine/VideoTexture/FilterColor.h @@ -141,7 +141,7 @@ protected: /// calculate one color component unsigned int calcColor (unsigned int val, short idx) { - unsigned int col = VT_C(val,idx);; + unsigned int col = VT_C(val,idx); if (col <= levels[idx][0]) col = 0; else if (col >= levels[idx][1]) col = 0xFF; else col = (((col - levels[idx][0]) << 8) / levels[idx][2]) & 0xFF; diff --git a/source/gameengine/VideoTexture/ImageMix.cpp b/source/gameengine/VideoTexture/ImageMix.cpp index 7a8226aab03..aeef5d1694f 100644 --- a/source/gameengine/VideoTexture/ImageMix.cpp +++ b/source/gameengine/VideoTexture/ImageMix.cpp @@ -135,7 +135,7 @@ PyObject * setWeight (PyImage * self, PyObject * args) if (!getImageMix(self)->setWeight(id, weight)) { // if not set, report error - PyErr_SetString(PyExc_RuntimeError, "Invalid id of source");; + PyErr_SetString(PyExc_RuntimeError, "Invalid id of source"); return NULL; } // return none |