Commit 30d76666 authored by Josh Coalson's avatar Josh Coalson
Browse files

fix spelling of "misk"

parent 454dc149
......@@ -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:
......
......@@ -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;
}
......
......@@ -70,7 +70,7 @@ typedef struct {
} resolution;
struct {
FLAC__bool stop_err;
} misk;
} misc;
} output_config_t;
/*
......
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment