Просмотр исходного кода

Converted tabs to spaces in the files I modified.

Darryl Gough 12 лет назад
Родитель
Сommit
4fcead00ce
3 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      gameplay/src/Form.cpp
  2. 1 1
      gameplay/src/Properties.cpp
  3. 1 1
      samples/browser/src/InputSample.cpp

+ 2 - 2
gameplay/src/Form.cpp

@@ -136,7 +136,7 @@ Form* Form::create(const char* url)
 
     __forms.push_back(form);
 
-	SAFE_DELETE(properties);
+    SAFE_DELETE(properties);
 
     return form;
 }
@@ -603,7 +603,7 @@ Control* Form::handlePointerPressRelease(int* x, int* y, bool pressed)
             // originally pressed, fire a click event
             if (active->_absoluteClipBounds.contains(newX, newY))
             {
-				if (!active->_parent || !active->_parent->isScrolling())
+                if (!active->_parent || !active->_parent->isScrolling())
                 {
                     active->notifyListeners(Control::Listener::CLICK);
                 }

+ 1 - 1
gameplay/src/Properties.cpp

@@ -97,7 +97,7 @@ Properties* Properties::create(const char* url)
     if (!p)
     {
         GP_WARN("Failed to load properties from url '%s'.", url);
-		SAFE_DELETE(properties);
+        SAFE_DELETE(properties);
         return NULL;
     }
 

+ 1 - 1
samples/browser/src/InputSample.cpp

@@ -71,7 +71,7 @@ void InputSample::initialize()
     _formNodeParent->setTranslation(_formNodeRestPosition);
     _formNode->setTranslation(-0.2f, -0.2f, 0);
     _formNode->setForm(form);
-	form->release();
+    form->release();
 }
 
 void InputSample::finalize()