mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Fix inverted clipboard error check in SDL3 (#6348)
This commit is contained in:
@@ -606,7 +606,7 @@ internal partial class Clyde
|
||||
private void WinThreadSetClipboard(CmdSetClipboard cmd)
|
||||
{
|
||||
var res = SDL.SDL_SetClipboardText(cmd.Text);
|
||||
if (res)
|
||||
if (!res)
|
||||
_sawmill.Error("Failed to set clipboard text: {error}", SDL.SDL_GetError());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user