Correct issue with missing text in keyboard shortcut mapper grid

This commit is contained in:
Christian Grasser 2015-06-18 07:22:27 +02:00
parent a8a6f2c881
commit 1c25ae96e6

View File

@ -1745,7 +1745,7 @@ LRESULT CALLBACK GridProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
int j,k,c;
TCHAR tbuffer[1000];
//it was found, get it
SendMessage(BGHS[SelfIndex].hlist1,LB_GETTEXT,FindResult,(long)lParam);
SendMessage(BGHS[SelfIndex].hlist1,LB_GETTEXT,FindResult,(LPARAM)lParam);
lstrcpy(tbuffer,(TCHAR*)lParam);
k=lstrlen(tbuffer);
c=0;