Skip to content

Commit 19fc3bd

Browse files
fix(SmartScale): remove correctly when calling Init for many times
1 parent 9ab095b commit 19fc3bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

QSSmartScale/src/SmartScale.ecode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ SetWindowPos (record.hWnd, 0, rect.left, rect.top, rect.right - rect.left, rect.
6969
返回 ()
7070
.如果真结束
7171
.如果真 (record.hWnd != 0)
72-
record = EmptyWindowRecord ()
7372
RemoveWindowSubclass (record.hWnd, pSubclassProcHelper, ThisPtr ())
73+
record = EmptyWindowRecord ()
7474
.如果真结束
7575
RecordWindowsInfo (hWnd, record, clientWidth96, clientHeight96)
7676
ScaleForDpi (record, fontPool)

0 commit comments

Comments
 (0)