equal
deleted
inserted
replaced
467 |
467 |
468 /* Store in min_w and min_h difference between current size and minimal |
468 /* Store in min_w and min_h difference between current size and minimal |
469 size so we don't need to call AdjustWindowRectEx twice */ |
469 size so we don't need to call AdjustWindowRectEx twice */ |
470 min_w -= w; |
470 min_w -= w; |
471 min_h -= h; |
471 min_h -= h; |
472 max_w -= w; |
472 if (max_w && max_h) { |
473 max_h -= h; |
473 max_w -= w; |
|
474 max_h -= h; |
|
475 } |
474 |
476 |
475 size.top = 0; |
477 size.top = 0; |
476 size.left = 0; |
478 size.left = 0; |
477 size.bottom = h; |
479 size.bottom = h; |
478 size.right = w; |
480 size.right = w; |