equal
deleted
inserted
replaced
765 e.place.pt = GetTileBelowCursor(); |
765 e.place.pt = GetTileBelowCursor(); |
766 if (e.place.pt.x == -1) { |
766 if (e.place.pt.x == -1) { |
767 _thd.selend.x = -1; |
767 _thd.selend.x = -1; |
768 return; |
768 return; |
769 } |
769 } |
770 e.place.tile = TILE_FROM_XY(e.place.pt.x, e.place.pt.y); |
770 e.place.tile = TileVirtXY(e.place.pt.x, e.place.pt.y); |
771 e.event = WE_PLACE_PRESIZE; |
771 e.event = WE_PLACE_PRESIZE; |
772 w->wndproc(w, &e); |
772 w->wndproc(w, &e); |
773 } |
773 } |
774 |
774 |
775 static bool HandleDragDrop(void) |
775 static bool HandleDragDrop(void) |