From 56bd4b37cd578bc01b3236a94e3cad8dfff40488 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 3 Jan 2012 15:42:03 +0000 Subject: [PATCH] Fix #1064 more This was SVN commit r10860. --- source/ps/Profile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ps/Profile.cpp b/source/ps/Profile.cpp index 08619e40e5..c6863a9e13 100644 --- a/source/ps/Profile.cpp +++ b/source/ps/Profile.cpp @@ -343,7 +343,7 @@ const CProfileNode* CProfileNode::GetScriptChild( const char* childName ) const CProfileNode* CProfileNode::GetChild( const char* childName ) { profile_iterator it; - for( it = children.begin(); it != children.end(); it++ ) + for( it = children.begin(); it != children.end(); ++it ) if( (*it)->name == childName ) return( *it ); @@ -355,7 +355,7 @@ CProfileNode* CProfileNode::GetChild( const char* childName ) CProfileNode* CProfileNode::GetScriptChild( const char* childName ) { profile_iterator it; - for( it = script_children.begin(); it != script_children.end(); it++ ) + for( it = script_children.begin(); it != script_children.end(); ++it ) if( (*it)->name == childName ) return( *it );