diff --git a/src/plugin_winamp2/config.c b/src/plugin_winamp2/config.c index c9b03629..b8c21947 100644 --- a/src/plugin_winamp2/config.c +++ b/src/plugin_winamp2/config.c @@ -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: diff --git a/src/plugin_winamp2/playback.c b/src/plugin_winamp2/playback.c index 992f84ec..ade02410 100644 --- a/src/plugin_winamp2/playback.c +++ b/src/plugin_winamp2/playback.c @@ -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; } diff --git a/src/plugin_winamp2/playback.h b/src/plugin_winamp2/playback.h index b7758767..8b133f7a 100644 --- a/src/plugin_winamp2/playback.h +++ b/src/plugin_winamp2/playback.h @@ -70,7 +70,7 @@ typedef struct { } resolution; struct { FLAC__bool stop_err; - } misk; + } misc; } output_config_t; /* diff --git a/src/plugin_winamp2/resource.rc b/src/plugin_winamp2/resource.rc index a76457bd..a2e7efe3 100644 --- a/src/plugin_winamp2/resource.rc +++ b/src/plugin_winamp2/resource.rc @@ -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",