summaryrefslogtreecommitdiffstats
path: root/src/temp/ver/verFormula.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/ver/verFormula.c')
-rw-r--r--src/temp/ver/verFormula.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/temp/ver/verFormula.c b/src/temp/ver/verFormula.c
index 2c2881c0..8bb21547 100644
--- a/src/temp/ver/verFormula.c
+++ b/src/temp/ver/verFormula.c
@@ -392,7 +392,7 @@ int Ver_FormulaParserFindVar( char * pString, Vec_Ptr_t * vNames )
if ( nLength2 != nLength )
continue;
pTemp2 = Vec_PtrEntry( vNames, 2*i + 1 );
- if ( strncmp( pTemp, pTemp2, nLength ) )
+ if ( strncmp( pString, pTemp2, nLength ) )
continue;
return i;
}