From e073fab21131cae6bb0d9919b741ec0b440a948a Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 11 Sep 2011 22:24:40 +0200 Subject: CGE: Fix formatting of operator overloading --- engines/cge/bitmap.cpp | 2 +- engines/cge/bitmap.h | 2 +- engines/cge/sound.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index cd440e08b4..3d2ca70868 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -130,7 +130,7 @@ Bitmap::~Bitmap() { delete[] _v; } -Bitmap &Bitmap::operator = (const Bitmap &bmp) { +Bitmap &Bitmap::operator=(const Bitmap &bmp) { debugC(1, kCGEDebugBitmap, "&Bitmap::operator ="); uint8 *v0 = bmp._v; diff --git a/engines/cge/bitmap.h b/engines/cge/bitmap.h index 513438e74d..fbaeead31e 100644 --- a/engines/cge/bitmap.h +++ b/engines/cge/bitmap.h @@ -69,7 +69,7 @@ public: static void init(); static void deinit(); Bitmap *code(); - Bitmap &operator = (const Bitmap &bmp); + Bitmap &operator=(const Bitmap &bmp); void hide(int16 x, int16 y); void show(int16 x, int16 y); void xShow(int16 x, int16 y); diff --git a/engines/cge/sound.cpp b/engines/cge/sound.cpp index e83a210e3e..3052f792fd 100644 --- a/engines/cge/sound.cpp +++ b/engines/cge/sound.cpp @@ -166,7 +166,7 @@ DataCk *Fx::load(int idx, int ref) { return wav; } -DataCk *Fx::operator [](int ref) { +DataCk *Fx::operator[](int ref) { int i; if ((i = find(ref)) < _size) _current = _cache[i]._wav; -- cgit v1.2.3