projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e2b5f
)
Fix logging of Win 8 / Server 2012 platforms
author
Voyager1
<Voyager@xbmc.org>
Mon, 22 Oct 2012 15:51:01 +0000
(17:51 +0200)
committer
Voyager1
<Voyager@xbmc.org>
Mon, 22 Oct 2012 16:32:15 +0000
(18:32 +0200)
xbmc/utils/SystemInfo.cpp
patch
|
blob
|
history
diff --git
a/xbmc/utils/SystemInfo.cpp
b/xbmc/utils/SystemInfo.cpp
index
f46d465
..
745ad13
100644
(file)
--- a/
xbmc/utils/SystemInfo.cpp
+++ b/
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("
u
nknown version");
+ strKernel.append("
U
nknown version");
break;
}