summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-04-16 09:03:01 +0000
committer[email protected] <[email protected]>2012-04-16 09:03:01 +0000
commitbfad5e609f6025b2a53d39fe26f8503a14421a7b (patch)
tree0f4178013463d98faffb4d035dc7c42cae40e8f9 /examples
parent090553f768e40f137c799e64807f8372a0a3cc2c (diff)
fixed compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2082 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples')
-rw-r--r--examples/gui/demo_view_image.c6
1 files 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 <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)
{