summaryrefslogtreecommitdiffstats
path: root/Mandriva - Autorun CD-DVD/AutorunForm.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Mandriva - Autorun CD-DVD/AutorunForm.cs')
-rwxr-xr-xMandriva - Autorun CD-DVD/AutorunForm.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mandriva - Autorun CD-DVD/AutorunForm.cs b/Mandriva - Autorun CD-DVD/AutorunForm.cs
index c02ce9b..cf0d9d6 100755
--- a/Mandriva - Autorun CD-DVD/AutorunForm.cs
+++ b/Mandriva - Autorun CD-DVD/AutorunForm.cs
@@ -71,9 +71,9 @@ namespace autorun
product_label.Text = product + " " + temp[1].ToString();
version = temp[1].TrimEnd('1').ToString() + ".0";
}
- if (temp[0].ToString() == "One")
+ if (product == "One")
{
- desktop = temp[2].ToString();
+ product_label.Text += " " + temp[2].ToString();
arch_label.Text = "32-bit";
}
else
@@ -226,7 +226,7 @@ namespace autorun
private void UpdateUI()
{
- if (desktop == "KDE")
+ if (product == "One")
{
install_button.Text = m_ResourceManager.GetString("labelRestartButton");
}