- Timestamp:
- Aug 12, 2008 1:05:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp
r11352 r11356 397 397 { 398 398 if (OSInfoEx.wServicePackMinor) 399 RTStrPrintf(szTmp, sizeof(szTmp), " Service Pack%u.%u", (unsigned)OSInfoEx.wServicePackMajor, (unsigned)OSInfoEx.wServicePackMinor);399 RTStrPrintf(szTmp, sizeof(szTmp), "%u.%u", (unsigned)OSInfoEx.wServicePackMajor, (unsigned)OSInfoEx.wServicePackMinor); 400 400 else 401 RTStrPrintf(szTmp, sizeof(szTmp), " Service Pack%u", (unsigned)OSInfoEx.wServicePackMajor);401 RTStrPrintf(szTmp, sizeof(szTmp), "%u", (unsigned)OSInfoEx.wServicePackMajor); 402 402 } 403 403 else if (OSInfoEx.szCSDVersion[0]) … … 413 413 switch (enmVer) 414 414 { 415 case kRTWinOSType_95SP1: strcpy(szTmp, " Service Pack1"); break;416 case kRTWinOSType_98SP1: strcpy(szTmp, " Service Pack1"); break;415 case kRTWinOSType_95SP1: strcpy(szTmp, "1"); break; 416 case kRTWinOSType_98SP1: strcpy(szTmp, "1"); break; 417 417 default: 418 418 break;
Note:
See TracChangeset
for help on using the changeset viewer.