From 1a99a57525fe7e0fa0fc8a53be8931fa5e66def0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 15 Nov 2017 14:14:48 +0100 Subject: [PATCH] Fix typo. --- TracyLua.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TracyLua.hpp b/TracyLua.hpp index 64e7c10b..7f671ddd 100644 --- a/TracyLua.hpp +++ b/TracyLua.hpp @@ -67,7 +67,7 @@ static inline void LuaRemove( char* script ) memset( script, ' ', end - script ); script = end; } - else if( strcmp( script + 10, "BeginN(", 7 ) == 0 ) + else if( strncmp( script + 10, "BeginN(", 7 ) == 0 ) { auto end = FindEnd( script + 17 ); memset( script, ' ', end - script );