mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
wayland: Minor whitespace cleanup in clipboard.c
This commit is contained in:
parent
875f839df4
commit
e28d978509
@ -30,9 +30,9 @@ Wayland_SetClipboardText(_THIS, const char *text)
|
||||
{
|
||||
SDL_VideoData *video_data = NULL;
|
||||
SDL_WaylandDataDevice *data_device = NULL;
|
||||
|
||||
|
||||
int status = 0;
|
||||
|
||||
|
||||
if (_this == NULL || _this->driverdata == NULL) {
|
||||
status = SDL_SetError("Video driver uninitialized");
|
||||
} else {
|
||||
@ -67,7 +67,7 @@ Wayland_GetClipboardText(_THIS)
|
||||
|
||||
void *buffer = NULL;
|
||||
size_t length = 0;
|
||||
|
||||
|
||||
if (_this == NULL || _this->driverdata == NULL) {
|
||||
SDL_SetError("Video driver uninitialized");
|
||||
} else {
|
||||
@ -103,7 +103,7 @@ Wayland_HasClipboardText(_THIS)
|
||||
SDL_VideoData *video_data = NULL;
|
||||
SDL_WaylandDataDevice *data_device = NULL;
|
||||
|
||||
SDL_bool result = SDL_FALSE;
|
||||
SDL_bool result = SDL_FALSE;
|
||||
if (_this == NULL || _this->driverdata == NULL) {
|
||||
SDL_SetError("Video driver uninitialized");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user