Fix CL_ConsolePrint

Fix CL_ConsolePrint

diff --git a/src/engine/client/cl_console.cpp b/src/engine/client/cl_console.cpp
index 8f60f74..4632e18 100644
--- a/src/engine/client/cl_console.cpp
+++ b/src/engine/client/cl_console.cpp
@@ -766,8 +766,11 @@ void CL_ConsolePrint( valueType* txt )
             {
                 break;
             }
-            if( txt[l - 1] <= ';' ) break;
-            if( txt[l - 1] <= ',' ) break;
+			if( l > 0)
+			{
+            	if( txt[l - 1] <= ';' ) break;
+            	if( txt[l - 1] <= ',' ) break;
+			}
         }
         
         // word wrap

GitHub
sha: e863e9cd