From: rossb Date: Sun, 24 Jul 2011 05:28:47 +0000 (+0000) Subject: fixed switch statement in test that would report Win7 when the platform was Vista X-Git-Tag: pa_stable_v19_20111121_r1788~62 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=73c241d7ba859420c2c4c70293e60f884b0e822c;p=portaudio fixed switch statement in test that would report Win7 when the platform was Vista --- 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; } }