MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xStrupr

Function xStrupr

src/SB/Core/x/xString.cpp:155–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155char* xStrupr(char* string)
156{
157 char* p = string;
158
159 while (*p != '\0')
160 {
161 *p = (*p >= 'a' && *p <= 'z' ? *p - 32 : *p);
162
163 p++;
164 }
165
166 return string;
167}
168
169namespace
170{

Callers 2

zSceneInitFunction · 0.50
zSceneLeavingLevelFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected