diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c index d4e3d9070..4a91f0733 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;