From 73c241d7ba859420c2c4c70293e60f884b0e822c Mon Sep 17 00:00:00 2001 From: rossb Date: Sun, 24 Jul 2011 05:28:47 +0000 Subject: [PATCH] fixed switch statement in test that would report Win7 when the platform was Vista --- test/patest_wmme_find_best_latency_params.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/patest_wmme_find_best_latency_params.c b/test/patest_wmme_find_best_latency_params.c index d78e4b2..e86018b 100644 --- a/test/patest_wmme_find_best_latency_params.c +++ b/test/patest_wmme_find_best_latency_params.c @@ -141,11 +141,13 @@ static void printWindowsVersionInfo( FILE *fp ) osName = "Windows Vista"; else osName = "Windows Server 2008"; + break; case 1: if( osVersionInfoEx.wProductType == VER_NT_WORKSTATION ) osName = "Windows 7"; else osName = "Windows Server 2008 R2"; + break; }break; } } -- 2.43.0