mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-10 00:25:09 +00:00
Added a comment for the leak fix
This commit is contained in:
@@ -772,7 +772,7 @@ void FrameDrawDiskStatus( HDC passdc )
|
|||||||
if (g_nAppMode == MODE_LOGO)
|
if (g_nAppMode == MODE_LOGO)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (g_windowMinimized)
|
if (g_windowMinimized) // Prevent DC leaks when app window is minimised (GH#820)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// We use the actual drive since probing from memory doesn't tell us anything we don't already know.
|
// We use the actual drive since probing from memory doesn't tell us anything we don't already know.
|
||||||
|
Reference in New Issue
Block a user