summaryrefslogtreecommitdiff
path: root/src/resources/config.c
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-08-27 19:34:49 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-08-27 19:34:49 +0500
commit52ab86e5f55b189aea4198fe4d15a29c4d3c9d57 (patch)
treeb37655113dcb04255fba127291eff05a92807881 /src/resources/config.c
parent40d500949686c3b2ea229eb3c7fe4e2f252785af (diff)
distraction scene init
Diffstat (limited to 'src/resources/config.c')
-rw-r--r--src/resources/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/config.c b/src/resources/config.c
index 05b80cd..c414c10 100644
--- a/src/resources/config.c
+++ b/src/resources/config.c
@@ -42,7 +42,7 @@ char *stripName(char *line, size_t len) {
}
// Reads one line and assigns the param if found
-void evaluateConfigLive(char *line) {
+void evaluateConfigLine(char *line) {
size_t len = strlen(line);
// Empty lines and comments
if (len <= 1 || line[0] == '#') return;
@@ -87,7 +87,7 @@ bool ReadConfig(const char *location) {
while (fgets(buffer, size, file)) {
- evaluateConfigLive(buffer);
+ evaluateConfigLine(buffer);
}
free(buffer);