Release 950109
Thu Jan 5 13:37:42 1995 Cameron Heide (heide@ee.ualberta.ca)
* [memory/global.c]
GlobalCompact should now return the correct value when the
largest run of free blocks includes the last block.
* [windows/mdi.c]
Tiling and cascading windows without any MDI children should
no longer crash (assuming no-op is the correct thing to do).
Sun Jan 1 23:30:25 1995 Fons Botman <botman@rabo.nl>
* [objects/font.c]
GetTextExtentPoint: fixed debug output, str is counted string, not
zero terminated.
* [if1632/relay.c]
DLLRelay: when debugging_stack got segv, added upper bound for
stack dump.
diff --git a/controls/static.c b/controls/static.c
index 9089095..85345d8 100644
--- a/controls/static.c
+++ b/controls/static.c
@@ -211,6 +211,9 @@
case SS_LEFTNOWORDWRAP:
wFormat = DT_LEFT | DT_SINGLELINE | DT_EXPANDTABS | DT_VCENTER;
break;
+
+ default:
+ return;
}
if (style & SS_NOPREFIX)
@@ -247,6 +250,9 @@
case SS_WHITERECT:
hBrush = CreateSolidBrush(color_window);
break;
+
+ default:
+ return;
}
FillRect( hdc, &rc, hBrush );
}
@@ -274,6 +280,9 @@
case SS_WHITEFRAME:
hPen = CreatePen(PS_SOLID, 1, color_window);
break;
+
+ default:
+ return;
}
hBrush = CreateSolidBrush(color_window);