From 1b1f2a9790bc9eb4faea2c564fe93e6327e1274d Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 28 Jul 2006 03:21:45 +0000 Subject: [PATCH] VC8 fix (inline if). --- stepmania/src/Sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 24add0e1d5..e799050583 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -114,7 +114,7 @@ void Sprite::LoadFromNode( const RString& sDir, const XNode* pNode ) LuaHelpers::RunAtExpressionS( sPath ); bool bIsAbsolutePath = sPath.Left(1) == "/"; - sPath = bIsAbsolutePath ? : sDir+sPath; + sPath = bIsAbsolutePath ? sPath : sDir+sPath; } if( !sPath.empty() )