From c6c7d99fd2a002c4a2e05c41553fc676f668e7a8 Mon Sep 17 00:00:00 2001 From: Pistachioman Date: Mon, 27 Jul 2015 20:30:50 +0200 Subject: [PATCH] Add default extension to lilypad's save/load config dialog --- plugins/LilyPad/Config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/LilyPad/Config.cpp b/plugins/LilyPad/Config.cpp index 427e5ef84b..6b65b4fbab 100644 --- a/plugins/LilyPad/Config.cpp +++ b/plugins/LilyPad/Config.cpp @@ -1862,6 +1862,7 @@ INT_PTR CALLBACK GeneralDialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, L wcscpy(file, config.lastSaveConfigFileName); ofn.lpstrInitialDir = config.lastSaveConfigPath; ofn.Flags = OFN_DONTADDTORECENT | OFN_LONGNAMES | OFN_NOCHANGEDIR; + ofn.lpstrDefExt = L"lily"; if (LOWORD(wParam) == ID_LOAD) { ofn.lpstrTitle = L"Load LilyPad Configuration"; ofn.Flags |= OFN_FILEMUSTEXIST;