Commit dc2e9ba13b7e53c1c1e03eee585fae6095d1cbbc

Alfred Reynolds 2015-07-29T17:19:04

Fix build.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c
index d4e3d90..4a91f07 100644
--- a/src/video/x11/SDL_x11modes.c
+++ b/src/video/x11/SDL_x11modes.c
@@ -947,7 +947,7 @@ X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * h
         *hdpi = data->hdpi;
     }
     if (vdpi) {
-        *vpid = data->vdpi;
+        *vdpi = data->vdpi;
     }
 
     return data->ddpi != 0.0f ? 0 : -1;