window.c
changeset 5143 43f7b9457827
parent 5137 54425dc8b5b3
child 5198 7046e5b0b5bc
equal deleted inserted replaced
5142:ee34e9968a62 5143:43f7b9457827
  1915 				top = (newh - 26); // 26 = height of status bar + height of chat bar
  1915 				top = (newh - 26); // 26 = height of status bar + height of chat bar
  1916 				left = (neww - w->width) >> 1;
  1916 				left = (neww - w->width) >> 1;
  1917 				break;
  1917 				break;
  1918 
  1918 
  1919 			case WC_CONSOLE:
  1919 			case WC_CONSOLE:
  1920 				IConsoleResize();
  1920 				IConsoleResize(w);
  1921 				continue;
  1921 				continue;
  1922 
  1922 
  1923 			default:
  1923 			default:
  1924 				left = w->left;
  1924 				left = w->left;
  1925 				if (left + (w->width >> 1) >= neww) left = neww - w->width;
  1925 				if (left + (w->width >> 1) >= neww) left = neww - w->width;