From bfad5e609f6025b2a53d39fe26f8503a14421a7b Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Mon, 16 Apr 2012 09:03:01 +0000 Subject: [PATCH] fixed compiling error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2082 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- examples/gui/demo_view_image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gui/demo_view_image.c b/examples/gui/demo_view_image.c index 9242f85e0d..3e8b7e2f33 100644 --- a/examples/gui/demo_view_image.c +++ b/examples/gui/demo_view_image.c @@ -9,10 +9,10 @@ #include #include -// static rtgui_image_t* image = RT_NULL; -// static rtgui_view_t* _view = RT_NULL; - #if defined(RTGUI_USING_DFS_FILERW) || defined(RTGUI_USING_STDIO_FILERW) +static rtgui_image_t* image = RT_NULL; +static rtgui_view_t* _view = RT_NULL; + /* 打开按钮的回调函数 */ static void open_btn_onbutton(rtgui_widget_t* widget, struct rtgui_event* event) {