From 5b75e9033fc043f523411e674486eaeec4526825 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 11 Jun 2017 22:30:49 +0200 Subject: [PATCH] directfb: Fixed comment. --- src/video/directfb/SDL_DirectFB_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/directfb/SDL_DirectFB_window.c b/src/video/directfb/SDL_DirectFB_window.c index cfca74319..e657b96d7 100644 --- a/src/video/directfb/SDL_DirectFB_window.c +++ b/src/video/directfb/SDL_DirectFB_window.c @@ -468,7 +468,7 @@ DirectFB_GetWindowWMInfo(_THIS, SDL_Window * window, /* Before 2.0.6, it was possible to build an SDL with DirectFB support (SDL_SysWMinfo will be large enough to hold DirectFB info), but build your app against SDL headers that didn't have DirectFB support - (SDL_SysWMinfo could be smaller than Wayland needs. This would lead + (SDL_SysWMinfo could be smaller than DirectFB needs. This would lead to an app properly using SDL_GetWindowWMInfo() but we'd accidentally overflow memory on the stack or heap. To protect against this, we've padded out the struct unconditionally in the headers and DirectFB will