# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1647034526 18000 # Node ID 812089083c899e53675f683ff60f0b679c4d8550 # Parent 8bcb6a2d3defdc62f9f938e4184c6a2e6ab29af5 GUI: automatically select project file extension diff -r 8bcb6a2d3def -r 812089083c89 src/gui.c --- 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);