fix some uninitialized values
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-27 08:54:13 +09:00
commit a78b7b6762
4 changed files with 9 additions and 6 deletions

View file

@ -179,6 +179,9 @@ void MwDrawWidgetBack(MwWidget handle, MwRect* rect, MwLLColor color, int invert
MwDrawFrame(handle, rect, color, invert);
}
if(rect->width <= 0 || rect->height <= 0) return;
col = invert ? MwLightenColor(handle, color, -8, -8, -8) : color;
if(MwGetInteger(handle, MwNmodernLook)) {
MwDrawRectFading(handle, rect, col);