mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-25 12:14:33 -04:00
[ext2fs] add journal support for ext3 formatting
* Also clean up code, handle errors and fix issues
This commit is contained in:
parent
ddda1561ae
commit
ccf0f1bf3c
20 changed files with 2338 additions and 210 deletions
|
@ -1864,7 +1864,7 @@ out:
|
|||
/*
|
||||
* Main dialog callback
|
||||
*/
|
||||
extern BOOL FormatExt2Fs(void);
|
||||
extern BOOL FormatExt2Fs(const char* label);
|
||||
static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
static DWORD DeviceNum = 0;
|
||||
|
@ -1897,7 +1897,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
|
|||
case WM_COMMAND:
|
||||
#ifdef RUFUS_TEST
|
||||
if (LOWORD(wParam) == IDC_TEST) {
|
||||
FormatExt2Fs();
|
||||
FormatExt2Fs("casper-rw");
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue