- the floppy dialog now uses the label for the "browse" dialog if it exists

This commit is contained in:
Volker Ruppert 2003-08-31 17:12:20 +00:00
parent 3c2403ee53
commit 0540946030

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: win32dialog.cc,v 1.6 2003-08-30 17:13:06 vruppert Exp $
// $Id: win32dialog.cc,v 1.7 2003-08-31 17:12:20 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
#ifdef WIN32
@ -169,7 +169,8 @@ int AskFilename(bx_param_filename_c *param)
char *title;
param->get(filename, MAX_PATH);
title = param->get_name();
title = param->get_label();
if (!title) title = param->get_name();
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = GetBochsWindow();
ofn.hInstance = NULL;