src/video/x11/SDL_x11modes.c
changeset 10172 b4316ed0c72c
parent 10031 2b3baddd9afa
child 10437 d62c4978fffa
     1.1 --- a/src/video/x11/SDL_x11modes.c	Sat May 14 23:29:49 2016 -0400
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Fri May 20 22:14:40 2016 +0200
     1.3 @@ -1070,7 +1070,7 @@
     1.4          *vdpi = data->vdpi;
     1.5      }
     1.6  
     1.7 -    return data->ddpi != 0.0f ? 0 : -1;
     1.8 +    return data->ddpi != 0.0f ? 0 : SDL_SetError("Couldn't get DPI");
     1.9  }
    1.10  
    1.11  int