ソースを参照

Tabs to spaces, rephrase log message

Lasse Öörni 9 年 前
コミット
aa1600b91c
1 ファイル変更6 行追加5 行削除
  1. 6 5
      Source/Urho3D/Urho2D/StaticSprite2D.cpp

+ 6 - 5
Source/Urho3D/Urho2D/StaticSprite2D.cpp

@@ -85,11 +85,12 @@ void StaticSprite2D::RegisterObject(Context* context)
 
 void StaticSprite2D::SetSprite(Sprite2D* sprite)
 {
-	if (!sprite)
-	{
-		URHO3D_LOGERROR("Sprite must not be null!");
-		return;
-	}
+    if (!sprite)
+    {
+        URHO3D_LOGERROR("Can not set null sprite");
+        return;
+    }
+
     if (sprite == sprite_)
         return;