comparison src/gui_w16.c @ 7009:286fd54c7ae3 v7.4.822

patch 7.4.822 Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 19:14:00 +0200
parents 04736b4030ec
children
comparison
equal deleted inserted replaced
7008:7ce1f4e998bb 7009:286fd54c7ae3
280 int xPos = GET_X_LPARAM(lParam); 280 int xPos = GET_X_LPARAM(lParam);
281 281
282 result = MyWindowProc(hwnd, uMsg, wParam, lParam); 282 result = MyWindowProc(hwnd, uMsg, wParam, lParam);
283 if (result == HTCLIENT) 283 if (result == HTCLIENT)
284 { 284 {
285 gui_mch_get_winpos(&x, &y); 285 (void)gui_mch_get_winpos(&x, &y);
286 xPos -= x; 286 xPos -= x;
287 287
288 if (xPos < 48) /*<VN> TODO should use system metric?*/ 288 if (xPos < 48) /*<VN> TODO should use system metric?*/
289 return HTBOTTOMLEFT; 289 return HTBOTTOMLEFT;
290 else 290 else