Skip to content

Commit

Permalink
Windows: Fix default extension of save dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
btzy committed Oct 7, 2021
1 parent 2b78803 commit 800e880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nfd_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ nfdresult_t SetDefaultExtension(::IFileDialog* fileOpenDialog,
// set the first item as the default file extension
const nfdnchar_t* p_spec = filterList[0].spec;
for (; *p_spec; ++p_spec) {
if (*p_spec == ';') {
if (*p_spec == ',') {
break;
}
}
Expand Down

0 comments on commit 800e880

Please sign in to comment.