MCPcopy Create free account
hub / github.com/diasurgical/devilution / DvlStringSetting

Function DvlStringSetting

SourceX/DiabloUI/diabloui.cpp:887–892  ·  view source on GitHub ↗

* @brief Get string from ini, if not found the provided value will be added to the ini instead */

Source from the content-addressed store, hash-verified

885 * @brief Get string from ini, if not found the provided value will be added to the ini instead
886 */
887void DvlStringSetting(const char *valuename, char *string, int len)
888{
889 if (!getIniValue("devilutionx", valuename, string, len)) {
890 setIniValue("devilutionx", valuename, string);
891 }
892}
893} // namespace dvl

Callers 1

SpawnWindowFunction · 0.85

Calls 2

getIniValueFunction · 0.85
setIniValueFunction · 0.85

Tested by

no test coverage detected