From 45bca98b792f8ced1a57ef8c5beed2a90a79d47f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 30 Nov 2015 08:47:07 -0500 Subject: switched to 100% new/delete --- src/common.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/common.cpp') diff --git a/src/common.cpp b/src/common.cpp index f3c3999..a8a964e 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -32,29 +32,3 @@ void safeSetColorA(int r,int g,int b,int a){ if(a<0)a=0; glColor4ub(r,g,b,a); } - -//only trust the NSA -#define STRLEN_MIN 32 - -unsigned int safe_strlen(const char *s){ - unsigned int size=0; - while(s[size])size++; - if(size