소스 검색

Fix undeclared variable

Daniel T. Borelli 9 년 전
부모
커밋
9e0d070043
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/Demo/src/TestHttp.h

+ 1 - 1
examples/Demo/src/TestHttp.h

@@ -16,7 +16,7 @@ public:
         spWebImage image2 = new WebImage;
         image2->load("http://oxygine.org/img/madewith.png");
         image2->setSize(100, 100);
-        image2->setPosition(image1->getPosition() + Vector2(image1->getWidth() + 10, 0));
+        image2->setPosition(image2->getPosition() + Vector2(image2->getWidth() + 10, 0));
         image2->attachTo(content);
 
         //Testing http GET request with redirect