Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/store.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// SPDX-FileCopyrightText: 2024-2025 Jason André Charles Gantner

#include "wdisplays.h"
#include <locale.h>
#include <ctype.h>
#include <limits.h>
#include <regex.h>
Expand Down Expand Up @@ -48,7 +49,8 @@ char *wd_get_config_file_path() {

// look for store_path in wdisplays.conf
snprintf(wdisplaysPath, sizeof(wdisplaysPath), "%s/wdisplays.conf", defaultConfigDir);


setlocale(LC_NUMERIC, "C");
FILE *wdisplaysFile = fopen(wdisplaysPath, "r");
if (wdisplaysFile != NULL) {
char line[LINE_MAX]; // LINE_MAX is a platform-dependendant macro
Expand Down