diff options
author | Abhijeet Vhotkar <abhijeetvhotkar@gmail.com> | 2018-03-10 18:16:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-10 18:16:29 -0500 |
commit | 9a34826efbab3d5fa9dbb9cf837c392395c7ef79 (patch) | |
tree | 6011fe431de4393c9212b4d5db78759080d65509 /redist/CNFGWinDriver.c | |
parent | e5a9bff729fb0c596daed5cdf45683e11c666766 (diff) | |
parent | c687e3ea63a5d974fd35feb07fe7fb87d4375e6a (diff) | |
download | libsurvive-9a34826efbab3d5fa9dbb9cf837c392395c7ef79.tar.gz libsurvive-9a34826efbab3d5fa9dbb9cf837c392395c7ef79.tar.bz2 |
Merge pull request #1 from cnlohr/master
Pulling new changes
Diffstat (limited to 'redist/CNFGWinDriver.c')
-rw-r--r-- | redist/CNFGWinDriver.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/redist/CNFGWinDriver.c b/redist/CNFGWinDriver.c index b1c1eb0..9d1be6a 100644 --- a/redist/CNFGWinDriver.c +++ b/redist/CNFGWinDriver.c @@ -54,8 +54,8 @@ void CNFGGetDimensions( short * x, short * y ) lasty = buffery; InternalHandleResize(); } - *x = bufferx; - *y = buffery; + *x = (short)bufferx; + *y = (short)buffery; } @@ -212,7 +212,6 @@ void CNFGSetup( const char * name_of_window, int width, int height ) void CNFGHandleInput() { - int ldown = 0; MSG msg; while( PeekMessage( &msg, lsHWND, 0, 0xFFFF, 1 ) ) |