Update some incorrect code

This commit is contained in:
Liu Chao
2017-04-03 20:00:12 +08:00
parent 22f7c1f370
commit 72353f3511
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -134,8 +134,8 @@ void LCUICursor_GetRect( LCUI_Rect *rect )
{
rect->x = cursor.pos.x;
rect->y = cursor.pos.y;
rect->width = cursor.graph.w;
rect->height = cursor.graph.h;
rect->width = cursor.graph.width;
rect->height = cursor.graph.height;
}
/* 刷新鼠标游标在屏幕上显示的图形 */
+1 -1
View File
@@ -226,7 +226,7 @@ int LCUI_ReadPNG( LCUI_ImageReader reader, LCUI_Graph *graph )
return ret;
#else
_DEBUG_MSG( "warning: not PNG support!" );
return -ENOSYS
return -ENOSYS;
#endif
}