WINTERMUTE: Rename VarName->varName in BViewport

This commit is contained in:
Einar Johan Trøan Sømåen 2012-07-08 22:38:08 +02:00
parent 685ee29640
commit 58f2d2575d
2 changed files with 3 additions and 3 deletions

View File

@ -63,8 +63,8 @@ HRESULT CBViewport::persist(CBPersistMgr *persistMgr) {
//////////////////////////////////////////////////////////////////////////
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool NoCheck) {
if (!NoCheck) {
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool noCheck) {
if (!noCheck) {
left = MAX(left, 0);
top = MAX(top, 0);
right = MIN(right, Game->_renderer->_width);

View File

@ -39,7 +39,7 @@ public:
int getHeight();
int getWidth();
RECT *getRect();
HRESULT setRect(int left, int top, int right, int bottom, bool NoCheck = false);
HRESULT setRect(int left, int top, int right, int bottom, bool noCheck = false);
DECLARE_PERSISTENT(CBViewport, CBBase)
int _offsetY;
int _offsetX;