mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
- Add msvcrt linking where needed
- Change "rintf" unixism to ceil() and data conversion to integer type svn path=/trunk/; revision=24031
This commit is contained in:
parent
af9e8a64e7
commit
a9d0596841
|
@ -10,6 +10,7 @@
|
|||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>comctl32</library>
|
||||
<library>msvcrt</library>
|
||||
<file>access.c</file>
|
||||
<file>display.c</file>
|
||||
<file>general.c</file>
|
||||
|
|
|
@ -235,7 +235,7 @@ ButtonProc(IN HWND hwndDlg,
|
|||
SendMessage(hDlgCtrl, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(0, 14));
|
||||
pos = ((float)g_DoubleClickSpeed / MAX_DOUBLE_CLICK_SPEED);
|
||||
pos /= (1.0f/11.0f);
|
||||
SendMessage(hDlgCtrl, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)(INT)rintf(pos));
|
||||
SendMessage(hDlgCtrl, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)(INT)ceil(pos));
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>comctl32</library>
|
||||
<library>msvcrt</library>
|
||||
<library>devmgr</library>
|
||||
<file>mmsys.c</file>
|
||||
<file>mmsys.rc</file>
|
||||
|
|
Loading…
Reference in a new issue