Permalink
Browse files

Fix logging of Win 8 / Server 2012 platforms

  • Loading branch information...
1 parent c5e2b5f commit c4929437aeafab15ae129e34d6555a5503d665b3 @Voyager1 Voyager1 committed Oct 22, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 xbmc/utils/SystemInfo.cpp
@@ -463,11 +463,17 @@ CStdString CSysInfo::GetKernelVersion()
else
strKernel.append(" Server 2008 R2");
break;
+ case WindowsVersionWin8:
+ if (osvi.wProductType == VER_NT_WORKSTATION)
+ strKernel.append(" 8");
+ else
+ strKernel.append(" Server 2012");
+ break;
case WindowsVersionFuture:
strKernel.append(" Unknown Future Version");
break;
default:
- strKernel.append(" unknown version");
+ strKernel.append(" Unknown version");
break;
}

0 comments on commit c492943

Please sign in to comment.