i forgot to commit omg

This commit is contained in:
Adam D. Ruppe 2021-12-04 19:48:47 -05:00
parent a2c223a750
commit ae71b80e63
1 changed files with 1 additions and 1 deletions

View File

@ -7853,7 +7853,7 @@ class TableView : Widget {
private int getActualSetSize(size_t i, bool askWindows) {
version(win32_widgets)
if(askWindows)
return SendMessage(hwnd, LVM_GETCOLUMNWIDTH, cast(WPARAM) i, 0);
return cast(int) SendMessage(hwnd, LVM_GETCOLUMNWIDTH, cast(WPARAM) i, 0);
auto w = columns[i].width;
if(w == -1)
return 50; // idk, just give it some space so the percents aren't COMPLETELY off FIXME