mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Detect change if switching between UTF-8-no-bom and UTF-8-with-bom - thx Minherre :)
Related to #8690
This commit is contained in:
parent
d7819ad7bd
commit
d5bf8c3d01
@ -35591,12 +35591,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private int GetFastSubtitleHash()
|
||||
{
|
||||
return _subtitle.GetFastHashCode(_fileName + GetCurrentEncoding().BodyName);
|
||||
return _subtitle.GetFastHashCode(_fileName + UiUtil.GetTextEncodingComboBoxCurrentEncoding(comboBoxEncoding.ComboBox).DisplayName);
|
||||
}
|
||||
|
||||
private int GetFastSubtitleOriginalHash()
|
||||
{
|
||||
return _subtitleOriginal.GetFastHashCode(_subtitleOriginalFileName + GetCurrentEncoding().BodyName);
|
||||
return _subtitleOriginal.GetFastHashCode(_subtitleOriginalFileName + UiUtil.GetTextEncodingComboBoxCurrentEncoding(comboBoxEncoding.ComboBox).DisplayName);
|
||||
}
|
||||
|
||||
private void MergeSentencesToolStripMenuItemClick(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user