Sam Lantinga 7f2068daca Fixed bug 3541 - DisplayIndex out of bounds in SDL_SetWindowPosition
Intellectual Kitty

In SDL_video.c, on line #1756, in SDL_SetWindowPosition (from today's distribution, 12-31-2016, https://hg.libsdl.org/SDL/shortlog/bf19e0c84483):

        if (displayIndex > _this->num_displays) {

should be:

        if (displayIndex >= _this->num_displays) {
2016-12-31 10:30:07 -08:00
..
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-11-15 01:24:58 -08:00
2016-01-02 10:10:34 -08:00
2016-12-09 05:00:35 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00