Skip to content

Commit c0e4613

Browse files
committed
解决spathview在使用gdi渲染时崩溃的问题。
1 parent 23d26c0 commit c0e4613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/SPathView.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace SOUI
2121

2222
void SPathView::AddPoint(const POINT *pts,int nPts)
2323
{
24+
if(!m_path) return;
2425
for(int i=0;i<nPts;i++)
2526
{
2627
m_lstPoints.Add(pts[i]);

0 commit comments

Comments
 (0)