summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
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;
//--------------------------------------------------------------------------------------