mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 02:31:10 -06:00
avrdude: Add a Windows-aware fopen
This commit is contained in:
parent
a2ce4c00de
commit
fba4d109c8
3 changed files with 11 additions and 5 deletions
|
|
@ -325,7 +325,7 @@ int read_config(const char * file)
|
|||
FILE * f;
|
||||
int r;
|
||||
|
||||
f = fopen(file, "r");
|
||||
f = fopen_utf8(file, "r");
|
||||
if (f == NULL) {
|
||||
avrdude_message(MSG_INFO, "%s: can't open config file \"%s\": %s\n",
|
||||
progname, file, strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue