fix spelling of "misk"

This commit is contained in:
Josh Coalson
2004-09-27 04:38:52 +00:00
parent 454dc14989
commit 30d766665c
4 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ void ReadConfig()
RI(flac_cfg.tag.reserve_space, 1);
RI(flac_cfg.display.show_bps, 1);
RI(flac_cfg.output.misk.stop_err, 0);
RI(flac_cfg.output.misc.stop_err, 0);
RI(flac_cfg.output.replaygain.enable, 1);
RI(flac_cfg.output.replaygain.album_mode, 0);
RI(flac_cfg.output.replaygain.hard_limit, 0);
@@ -82,7 +82,7 @@ void WriteConfig()
WS(flac_cfg.title.sep);
WI(flac_cfg.display.show_bps);
WI(flac_cfg.output.misk.stop_err);
WI(flac_cfg.output.misc.stop_err);
WI(flac_cfg.output.replaygain.enable);
WI(flac_cfg.output.replaygain.album_mode);
WI(flac_cfg.output.replaygain.hard_limit);
@@ -119,7 +119,7 @@ static INT_PTR CALLBACK GeneralProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
Check(IDC_ID3V1, flac_cfg.title.read_v1);
/*! Check(IDC_RESERVE, flac_cfg.tag.reserve_space); */
Check(IDC_BPS, flac_cfg.display.show_bps);
Check(IDC_ERRORS, flac_cfg.output.misk.stop_err);
Check(IDC_ERRORS, flac_cfg.output.misc.stop_err);
return TRUE;
/* commands */
case WM_COMMAND:
@@ -136,7 +136,7 @@ static INT_PTR CALLBACK GeneralProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
flac_cfg.title.read_v1 = GetCheck(IDC_ID3V1);
/*! flac_cfg.tag.reserve_space = GetCheck(IDC_RESERVE); */
flac_cfg.display.show_bps = GetCheck(IDC_BPS);
flac_cfg.output.misk.stop_err = GetCheck(IDC_ERRORS);
flac_cfg.output.misc.stop_err = GetCheck(IDC_ERRORS);
break;
/* reset */
case IDC_RESET:

View File

@@ -89,7 +89,7 @@ static void error_callback(const FLAC__FileDecoder *decoder, FLAC__StreamDecoder
file_info_struct *file_info = (file_info_struct*)client_data;
(void)decoder;
if (cfg.misk.stop_err || status!=FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC)
if (cfg.misc.stop_err || status!=FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC)
file_info->abort_flag = true;
}

View File

@@ -70,7 +70,7 @@ typedef struct {
} resolution;
struct {
FLAC__bool stop_err;
} misk;
} misc;
} output_config_t;
/*

View File

@@ -145,7 +145,7 @@ BEGIN
GROUPBOX " Tag Editor ",IDC_STATIC,2,63,220,30
CONTROL "Reserve space for &VorbisComment",IDC_RESERVE,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,8,76,125,10
GROUPBOX " Misk ",IDC_STATIC,2,96,220,72
GROUPBOX " Miscellaneous ",IDC_STATIC,2,96,220,72
CONTROL "&Show average bitrate while playing",IDC_BPS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,8,108,125,10
CONTROL "Stop on &all errors",IDC_ERRORS,"Button",