Explorar el Código

fixed window style generation ignoring minimize precedence, causing errors in edge cases

pull/5524/head
unknown hace 20 horas
padre
commit
59ea022c67
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/platforms/rcore_desktop_win32.c

+ 2
- 2
src/platforms/rcore_desktop_win32.c Ver fichero

@ -270,8 +270,8 @@ static DWORD MakeWindowStyle(unsigned flags)
// Minimized takes precedence over maximized
int mized = MIZED_NONE;
if (FLAG_IS_SET(flags, FLAG_WINDOW_MINIMIZED)) mized = MIZED_MIN;
if (flags & FLAG_WINDOW_MAXIMIZED) mized = MIZED_MAX;
if (flags & FLAG_WINDOW_MINIMIZED) mized = MIZED_MIN;
else if (flags & FLAG_WINDOW_MAXIMIZED) mized = MIZED_MAX;
switch (mized)
{

Cargando…
Cancelar
Guardar