summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
index bd705e6d3..ce5e5506f 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
@@ -146,10 +146,17 @@ namespace HandBrake.ApplicationServices.Utilities
}
}
- if (!string.IsNullOrEmpty(gpu) && !string.IsNullOrEmpty(version))
+ if (string.IsNullOrEmpty(gpu))
{
- gpuInfo.Add(string.Format("{0} - {1}", gpu, version));
+ gpu = "Unknown GPU";
}
+
+ if (string.IsNullOrEmpty(version))
+ {
+ version = "Unknown Driver Version";
+ }
+
+ gpuInfo.Add(string.Format("{0} - {1}", gpu, version));
}
}
catch (Exception)