From 55ed12f8d1eb6887d348be03aee5573d44177ffb Mon Sep 17 00:00:00 2001 From: Michael Sartain Date: Thu, 2 Oct 2014 08:25:55 -0700 Subject: Updated the SDK with the latest code from the TF and HL2 branches. --- mp/src/public/sentence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mp/src/public/sentence.cpp') diff --git a/mp/src/public/sentence.cpp b/mp/src/public/sentence.cpp index 49c24c3c..1afba9b9 100644 --- a/mp/src/public/sentence.cpp +++ b/mp/src/public/sentence.cpp @@ -1678,7 +1678,7 @@ bool CSentence::ShouldSplitWord( char in ) if ( in <= 32 ) return true; - if ( in >= 128 ) + if ( (unsigned char)in > SCHAR_MAX ) return true; if ( ispunct( in ) ) -- cgit v1.2.3