From 4415bf92093a974c13833f5cf8e0147d00a2aeb5 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sun, 12 Nov 2017 11:31:15 +0800 Subject: [PATCH] Clear compiler warnings from anchor.c --- src/gui/widget/anchor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/anchor.c b/src/gui/widget/anchor.c index 4ff5aaf3..0df840ee 100644 --- a/src/gui/widget/anchor.c +++ b/src/gui/widget/anchor.c @@ -38,6 +38,8 @@ * 没有,请查看:. * ****************************************************************************/ +#include +#include #include #include #include @@ -77,7 +79,7 @@ void Anchor_Open( LCUI_Widget w ) } target = LCUIWidget_GetById( attr_target ); if( !target ) { - LOG( "[anchor] target (%s): not fund\n", attr_target ); + LOG( "[anchor] target (%s): not found\n", attr_target ); return; } if( attr_href[0] != '/' ) {