Ticket #48583: patch-windowsize.diff

File patch-windowsize.diff, 479 bytes (added by youvegotmoxie@…, 9 years ago)
  • resize.c

     
    678678      he = 1000;
    679679    }
    680680
     681  if (wi > 1000)
     682    {
     683      Msg(0, "Window width too large, truncated");
     684      wi = 1000;
     685    }
     686  if (he > 1000)
     687    {
     688      Msg(0, "Window height too large, truncated");
     689      he = 1000;
     690    }
     691
    681692  if (p->w_width == wi && p->w_height == he && p->w_histheight == hi)
    682693    {
    683694      debug("ChangeWindowSize: No change.\n");