mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
Update some incorrect code
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user