Explorar o código

libobs: Specify format string for bcrash

Detected by PVS Studio.
Richard Stanway %!s(int64=4) %!d(string=hai) anos
pai
achega
dccf569982
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libobs/obs-win-crash-handler.c

+ 1 - 1
libobs/obs-win-crash-handler.c

@@ -549,7 +549,7 @@ static LONG CALLBACK exception_handler(PEXCEPTION_POINTERS exception)
 	inside_handler = true;
 
 	handle_exception(&data, exception);
-	bcrash(data.str.array);
+	bcrash("%s", data.str.array);
 	exception_handler_data_free(&data);
 
 	inside_handler = false;