summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-06-01 22:26:22 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-06-01 22:26:22 +0100
commitc0a619a2fcf93c60307a18c44bd7efc5fd153c59 (patch)
tree9f38a9e26115348fff1576ee43c55ef7adc6d8a3 /thirdparty
parenta99c49528e069fa6612eecb9a177887fdfc48b14 (diff)
dxerr: Add missing break statement.
This was missing from upstream too. And it was causing all error messages appearing as "Requested audio format unsupported." on Windows 7.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/dxerr/dxerr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/thirdparty/dxerr/dxerr.cpp b/thirdparty/dxerr/dxerr.cpp
index 9d3621c7..a1ceadee 100644
--- a/thirdparty/dxerr/dxerr.cpp
+++ b/thirdparty/dxerr/dxerr.cpp
@@ -3502,11 +3502,13 @@ const char* WINAPI DXGetErrorStringA( HRESULT hr )
#define CHK_ERRA(hrchk) \
case hrchk: \
- strcpy_s( desc, count, #hrchk );
+ strcpy_s( desc, count, #hrchk ); \
+ break;
#define CHK_ERR(hrchk, strOut) \
case hrchk: \
- strcpy_s( desc, count, strOut );
+ strcpy_s( desc, count, strOut ); \
+ break;
//--------------------------------------------------------------------------------------