comparison src/video/SDL_video.c @ 4495:dbbfdb9ea716

Simplified clipboard API for sanity's sake. A complete clipboard implementation would support multiple formats that could be queried at runtime, events for when the clipboard contents changed, support for HTML, images, etc. We're not going that crazy, at least for now. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Jul 2010 23:54:03 -0700
parents 791b3256fb22
children c04dd942610d
comparison
equal deleted inserted replaced
4494:621dc91c7a04 4495:dbbfdb9ea716
2831 } 2831 }
2832 if (_this->displays) { 2832 if (_this->displays) {
2833 SDL_free(_this->displays); 2833 SDL_free(_this->displays);
2834 _this->displays = NULL; 2834 _this->displays = NULL;
2835 } 2835 }
2836 if (_this->clipboard_text) {
2837 SDL_free(_this->clipboard_text);
2838 _this->clipboard_text = NULL;
2839 }
2836 _this->free(_this); 2840 _this->free(_this);
2837 _this = NULL; 2841 _this = NULL;
2838 } 2842 }
2839 2843
2840 int 2844 int