From e5c008480414485ebb51adcd1931e6cf08be457c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 15 Mar 2019 16:11:39 -0600 Subject: [PATCH] graphics/nxbe/nxbe_move.c: Fix a compile error found in build testing. --- graphics/nxbe/nxbe_move.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphics/nxbe/nxbe_move.c b/graphics/nxbe/nxbe_move.c index 1b1793d2ce..a5b50c69a1 100644 --- a/graphics/nxbe/nxbe_move.c +++ b/graphics/nxbe/nxbe_move.c @@ -81,6 +81,7 @@ static void nxbe_clipmovesrc(FAR struct nxbe_clipops_s *cops, struct nxbe_move_s *info = (struct nxbe_move_s *)cops; struct nxgl_point_s offset; #ifdef CONFIG_NX_UPDATE + FAR struct nxbe_window_s *wnd; struct nxgl_rect_s update; #endif @@ -100,6 +101,7 @@ static void nxbe_clipmovesrc(FAR struct nxbe_clipops_s *cops, * apply the offset. */ + wnd = info->wnd; nxgl_rectoffset(&update, rect, offset.x - wnd->bounds.pt1.x, offset.y - wnd->bounds.pt1.y);