Mercurial > msvpvf
changeset 17:812089083c89
GUI: automatically select project file extension
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Fri, 11 Mar 2022 16:35:26 -0500 |
parents | 8bcb6a2d3def |
children | b5df3f47a30e |
files | src/gui.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c Fri Mar 11 03:41:20 2022 -0500 +++ b/src/gui.c Fri Mar 11 16:35:26 2022 -0500 @@ -95,8 +95,8 @@ ofn.lpstrFile = output_file; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = 256; - ofn.lpstrFilter = "Project files\0*.veg\0All files\0*.*\0"; - ofn.nFilterIndex = 1; + ofn.lpstrFilter = "Movie Studio project files\0*.vf\0VEGAS Pro project files\0*.veg\0All files\0*.*\0"; + ofn.nFilterIndex = type+1; GetSaveFileName(&ofn);