From b0b65e504442b2bae27e38f4477e3c9767072640 Mon Sep 17 00:00:00 2001 From: _aLfa_ Date: Sun, 21 Sep 2014 12:48:25 +0200 Subject: [PATCH] Prevent co-variant array conversion --- src/Forms/VobSubOcrCharacter.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Forms/VobSubOcrCharacter.cs b/src/Forms/VobSubOcrCharacter.cs index 4dfe65b3f..29b9f36b6 100644 --- a/src/Forms/VobSubOcrCharacter.cs +++ b/src/Forms/VobSubOcrCharacter.cs @@ -34,11 +34,8 @@ namespace Nikse.SubtitleEdit.Forms germanToolStripMenuItem.Text = language.German; checkBoxAutoSubmitOfFirstChar.Text = language.AutoSubmitOnFirstChar; - string[] row0 = { "♪", "á", "é", "í", "ó", "ö", "ő", "ú", "ü", "ű" }; - string[] row1 = { "♫", "Á", "É", "Í", "Ó", "Ö", "Ő", "Ú", "Ü", "Ű" }; - - dataGridView1.Rows.Add(row0); - dataGridView1.Rows.Add(row1); + dataGridView1.Rows.Add("♪", "á", "é", "í", "ó", "ö", "ő", "ú", "ü", "ű"); + dataGridView1.Rows.Add("♫", "Á", "É", "Í", "Ó", "Ö", "Ő", "Ú", "Ü", "Ű"); FixLargeFonts(); }