From 1462778474c639c1f3bc9fa20e5b6177813b7e45 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Fri, 11 Jan 2008 17:50:19 +0000 Subject: [PATCH] FIXED: Buffer overrun when selecting "Flash save" in the "Import->Battery file..." dialog. --- src/win32/MainWndFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/MainWndFile.cpp b/src/win32/MainWndFile.cpp index c59aead9..6bcba9e2 100644 --- a/src/win32/MainWndFile.cpp +++ b/src/win32/MainWndFile.cpp @@ -391,7 +391,7 @@ BOOL MainWnd::OnFileSaveSlot(UINT nID) void MainWnd::OnFileImportBatteryfile() { theApp.winCheckFullscreen(); - LPCTSTR exts[] = { ".sav" }; + LPCTSTR exts[] = { ".sav", ".dat" }; CString filter = winLoadFilter(IDS_FILTER_SAV); CString title = winResLoadString(IDS_SELECT_BATTERY_FILE);