diff --git a/SDL3-CS/SDL3/SDL_error.cs b/SDL3-CS/SDL3/SDL_error.cs index 749bbbc..82891aa 100644 --- a/SDL3-CS/SDL3/SDL_error.cs +++ b/SDL3-CS/SDL3/SDL_error.cs @@ -8,14 +8,14 @@ namespace SDL [Macro] public static unsafe SDLBool SDL_Unsupported() { - fixed (byte* fmt = "That operation is not supported"u8) + fixed (byte* fmt = "That operation is not supported\0"u8) return SDL_SetError(fmt, __arglist()); } [Macro] public static unsafe SDLBool SDL_InvalidParamError([NativeTypeName("const char *")] byte* param) { - fixed (byte* fmt = "Parameter '%s' is invalid"u8) + fixed (byte* fmt = "Parameter '%s' is invalid\0"u8) return SDL_SetError(fmt, __arglist(param)); } }