Skip to content

Commit

Permalink
More compiler food.
Browse files Browse the repository at this point in the history
Om nom nom.
  • Loading branch information
Iain Patterson committed Jan 9, 2014
1 parent 7fdd3f6 commit 953c1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ INT_PTR CALLBACK nssm_dlg(HWND window, UINT message, WPARAM w, LPARAM l) {
int width = rect.right - rect.left;
width -= (7 - columns) * 16;
int height = rect.bottom - rect.top;
if (n < 4) height -= SendMessage(list, LB_GETITEMHEIGHT, 0, 0) * (4 - n);
if (n < 4) height -= (int) SendMessage(list, LB_GETITEMHEIGHT, 0, 0) * (4 - n);
SetWindowPos(list, 0, 0, 0, width, height, SWP_NOMOVE | SWP_NOOWNERZORDER);
}
SendMessage(list, LB_SELITEMRANGE, 1, MAKELPARAM(0, n));
Expand Down

0 comments on commit 953c1a4

Please sign in to comment.