MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / fixupName

Function fixupName

TheForceEngine/TFE_FrontEndUI/modLoader.cpp:631–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629 }
630
631 void fixupName(char* name)
632 {
633 size_t len = strlen(name);
634 name[0] = toupper(name[0]);
635 for (size_t i = 1; i < len; i++)
636 {
637 name[i] = tolower(name[i]);
638 }
639 }
640
641 bool parseNameFromText(const char* textFileName, const char* path, char* name, std::string* fullText)
642 {

Callers 1

readFromQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected