Mercurial > msvpvf
comparison src/gui.c @ 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 | 423aa3429d21 |
| children | b5df3f47a30e |
comparison
equal
deleted
inserted
replaced
| 16:8bcb6a2d3def | 17:812089083c89 |
|---|---|
| 93 ofn.lStructSize = sizeof(OPENFILENAME); | 93 ofn.lStructSize = sizeof(OPENFILENAME); |
| 94 ofn.hwndOwner = hWnd; | 94 ofn.hwndOwner = hWnd; |
| 95 ofn.lpstrFile = output_file; | 95 ofn.lpstrFile = output_file; |
| 96 ofn.lpstrFile[0] = '\0'; | 96 ofn.lpstrFile[0] = '\0'; |
| 97 ofn.nMaxFile = 256; | 97 ofn.nMaxFile = 256; |
| 98 ofn.lpstrFilter = "Project files\0*.veg\0All files\0*.*\0"; | 98 ofn.lpstrFilter = "Movie Studio project files\0*.vf\0VEGAS Pro project files\0*.veg\0All files\0*.*\0"; |
| 99 ofn.nFilterIndex = 1; | 99 ofn.nFilterIndex = type+1; |
| 100 | 100 |
| 101 GetSaveFileName(&ofn); | 101 GetSaveFileName(&ofn); |
| 102 | 102 |
| 103 copy_file(input_file, output_file); | 103 copy_file(input_file, output_file); |
| 104 FILE* output = fopen(output_file, "r+b"); | 104 FILE* output = fopen(output_file, "r+b"); |
