This commit is contained in:
Glenn Maynard
2005-12-06 02:46:44 +00:00
parent be96b79251
commit a71723089f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void ActorScroller::Load2(
m_fNumItemsToDraw = fNumItemsToDraw;
m_exprTransformFunction.SetFromExpression(
ssprintf("function(self,offset,itemIndex,numItems) return self:y(%f*offset) end",fItemHeight),
ssprintf("function(self,offset,itemIndex,numItems) self:y(%f*offset) end",fItemHeight),
1
);
+1 -1
View File
@@ -11,7 +11,7 @@ public:
bool operator<( const DisplayResolution &other ) const
{
#define COMPARE(x) if( x < other.x ) return true; else if( x > other.x ) return false;
#define COMPARE(x) if( x != other.x ) return x < other.x;
COMPARE( iWidth );
COMPARE( iHeight );
#undef COMPARE