Browse Source

fixed compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2082 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 13 years ago
parent
commit
bfad5e609f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/gui/demo_view_image.c

+ 3 - 3
examples/gui/demo_view_image.c

@@ -9,10 +9,10 @@
 #include <rtgui/widgets/filelist_view.h>
 #include <string.h>
 
-// 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)
 {