From b736202a553785a670afc7067e4b8e046210021e Mon Sep 17 00:00:00 2001 From: AppleJDay Date: Fri, 1 Aug 2014 17:37:30 +0800 Subject: [PATCH] replace tab to spaces. Fix compile error of UIRichTextTest.cpp in windows visual studio vs2013. --- cocos/base/CCEventMouse.h | 24 +++++++++---------- .../UIRichTextTest/UIRichTextTest.cpp | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cocos/base/CCEventMouse.h b/cocos/base/CCEventMouse.h index acd576b583..1c5af7eb22 100644 --- a/cocos/base/CCEventMouse.h +++ b/cocos/base/CCEventMouse.h @@ -62,18 +62,18 @@ public: inline float getScrollX() { return _scrollX; }; inline float getScrollY() { return _scrollY; }; - inline void setCursorPosition(float x, float y) { - _x = x; - _y = y; - _prevPoint = _point; - _point.x = x; - _point.y = y; - if (!_startPointCaptured) - { - _startPoint = _point; - _startPointCaptured = true; - } - } + inline void setCursorPosition(float x, float y) { + _x = x; + _y = y; + _prevPoint = _point; + _point.x = x; + _point.y = y; + if (!_startPointCaptured) + { + _startPoint = _point; + _startPointCaptured = true; + } + } inline void setMouseButton(int button) { _mouseButton = button; }; inline int getMouseButton() { return _mouseButton; }; diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.cpp index ae7d403f4e..bc8052b584 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.cpp @@ -1,4 +1,4 @@ - + #include "UIRichTextTest.h" #include "cocostudio/CCArmatureDataManager.h"