diff options
Diffstat (limited to 'Mandriva - Autorun CD-DVD/AutorunForm.cs')
-rwxr-xr-x | Mandriva - Autorun CD-DVD/AutorunForm.cs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Mandriva - Autorun CD-DVD/AutorunForm.cs b/Mandriva - Autorun CD-DVD/AutorunForm.cs index da801ba..6843be5 100755 --- a/Mandriva - Autorun CD-DVD/AutorunForm.cs +++ b/Mandriva - Autorun CD-DVD/AutorunForm.cs @@ -77,13 +77,19 @@ namespace autorun }
else
{
- if (temp[2].ToString() == "i586")
+ switch (temp[2][0].ToString())
{
- arch_label.Text = "32-bit";
- }
- else
- {
- arch_label.Text = "64-bit";
+ case "i":
+ arch_label.Text = "32-bit";
+ break;
+ case "x":
+ product_label.Text = "64-bit";
+ break;
+ case "d":
+ product_label.Text = "Dual Arch";
+ break;
+ default:
+ break;
}
}
}
|