aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index e8b142f6a..c818ab7fa 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -435,7 +435,7 @@ void SurfaceImpl::Release() {
}
bitmap = 0;
if (paletteOld) {
- // Fonts are not deleted as they are owned by a Palette object
+ // Palettes are not deleted as they are owned by a Palette object
::SelectPalette(reinterpret_cast<HDC>(hdc),
reinterpret_cast<HPALETTE>(paletteOld), TRUE);
paletteOld = 0;