* @brief Get string from ini, if not found the provided value will be added to the ini instead */
| 885 | * @brief Get string from ini, if not found the provided value will be added to the ini instead |
| 886 | */ |
| 887 | void 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 |
no test coverage detected