comparison src/video/SDL_clipboard.c @ 4506:b577f47379f3

Fixed compile warnings
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jul 2010 00:35:14 -0700
parents eff4e88cc1e8
children b530ef003506
comparison
equal deleted inserted replaced
4505:f78a602ac135 4506:b577f47379f3
40 return 0; 40 return 0;
41 } 41 }
42 } 42 }
43 43
44 char * 44 char *
45 SDL_GetClipboardText() 45 SDL_GetClipboardText(void)
46 { 46 {
47 SDL_VideoDevice *_this = SDL_GetVideoDevice(); 47 SDL_VideoDevice *_this = SDL_GetVideoDevice();
48 48
49 if (_this->GetClipboardText) { 49 if (_this->GetClipboardText) {
50 return _this->GetClipboardText(_this); 50 return _this->GetClipboardText(_this);
56 return SDL_strdup(text); 56 return SDL_strdup(text);
57 } 57 }
58 } 58 }
59 59
60 SDL_bool 60 SDL_bool
61 SDL_HasClipboardText() 61 SDL_HasClipboardText(void)
62 { 62 {
63 SDL_VideoDevice *_this = SDL_GetVideoDevice(); 63 SDL_VideoDevice *_this = SDL_GetVideoDevice();
64 64
65 if (_this->HasClipboardText) { 65 if (_this->HasClipboardText) {
66 return _this->HasClipboardText(_this); 66 return _this->HasClipboardText(_this);