From 466207f5d3699586fc40d6270de187f262341089 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 10 Feb 2021 20:55:58 +0000 Subject: [PATCH] Save-state: load/save dialog: Remove ; to concatenate string and avoid unused code. (PR #924) --- source/Configuration/PropertySheetHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Configuration/PropertySheetHelper.cpp b/source/Configuration/PropertySheetHelper.cpp index e9c9dfd3..7ce645bc 100644 --- a/source/Configuration/PropertySheetHelper.cpp +++ b/source/Configuration/PropertySheetHelper.cpp @@ -209,7 +209,7 @@ int CPropertySheetHelper::SaveStateSelectImage(HWND hWindow, TCHAR* pszTitle, bo ofn.lStructSize = sizeof(OPENFILENAME); ofn.hwndOwner = hWindow; ofn.hInstance = GetFrame().g_hInstance; - ofn.lpstrFilter = TEXT("Save State files (*.aws.yaml)\0*.aws.yaml\0"); + ofn.lpstrFilter = TEXT("Save State files (*.aws.yaml)\0*.aws.yaml\0") TEXT("All Files\0*.*\0"); ofn.lpstrFile = szFilename; // Dialog strips the last .EXT from this string (eg. file.aws.yaml is displayed as: file.aws ofn.nMaxFile = sizeof(szFilename);