1
0
Fork 0
forked from fte/fteqw

s/strupr/strtoupper/g s/strlwr/strtolower/g

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3069 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2008-11-18 03:10:48 +00:00
parent 311a71ecf8
commit 178b178f36

View file

@ -16,7 +16,7 @@ cvar_t pr_brokenfloatconvert = SCVAR("pr_brokenfloatconvert", "0");
cvar_t pr_tempstringcount = SCVAR("pr_tempstringcount", "");//"16");
cvar_t pr_tempstringsize = SCVAR("pr_tempstringsize", "4096");
static char *strupr(char *s)
static char *strtoupper(char *s)
{
char *p;
@ -30,7 +30,7 @@ static char *strupr(char *s)
return s;
}
static char *strlwr(char *s)
static char *strtolower(char *s)
{
char *p;
@ -1502,7 +1502,7 @@ void PF_strtolower (progfuncs_t *prinst, struct globalvars_s *pr_globals)
char result[8192];
Q_strncpyz(result, in, sizeof(result));
strlwr(result);
strtolower(result);
RETURN_TSTRING(result);
}
@ -1514,7 +1514,7 @@ void PF_strtoupper (progfuncs_t *prinst, struct globalvars_s *pr_globals)
char result[8192];
Q_strncpyz(result, in, sizeof(result));
strupr(result);
strtoupper(result);
RETURN_TSTRING(result);
}
@ -1536,7 +1536,7 @@ void PF_strftime (progfuncs_t *prinst, struct globalvars_s *pr_globals)
tm = gmtime(&ctime);
strftime(result, sizeof(result), in, tm);
Q_strncpyz(result, in, sizeof(result));
strupr(result);
strtoupper(result);
RETURN_TSTRING(result);
}