From e15f66b349186025077e0499f7e6af4424696163 Mon Sep 17 00:00:00 2001 From: SarahW Date: Wed, 18 Nov 2020 20:43:07 +0000 Subject: [PATCH] Add specific warning message when creating differencing VHD. Patch from shermanp. --- src/wx-config.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wx-config.c b/src/wx-config.c index 2421d67..9f24e2c 100644 --- a/src/wx-config.c +++ b/src/wx-config.c @@ -1842,9 +1842,13 @@ static int hdnew_dlgproc(void* hdlg, int message, INT_PARAM wParam, LONG_PARAM l return TRUE; } } + wx_messagebox(hdlg, "Differencing VHD image created.\n\n" + "WARNING: Do not open or modify the parent image(s) while this file exists.", "PCem", WX_MB_OK); + } + if (hd_format != 3) + { + wx_messagebox(hdlg, "Drive created, remember to partition and format the new drive.", "PCem", WX_MB_OK); } - - wx_messagebox(hdlg, "Drive created, remember to partition and format the new drive.", "PCem", WX_MB_OK); wx_enddialog(hdlg, 1); return TRUE;