Correct issue with missing text in keyboard shortcut mapper grid

pull/178/head
Christian Grasser 10 years ago
parent a8a6f2c881
commit 1c25ae96e6

@ -1745,7 +1745,7 @@ LRESULT CALLBACK GridProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
int j,k,c; int j,k,c;
TCHAR tbuffer[1000]; TCHAR tbuffer[1000];
//it was found, get it //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); lstrcpy(tbuffer,(TCHAR*)lParam);
k=lstrlen(tbuffer); k=lstrlen(tbuffer);
c=0; c=0;

Loading…
Cancel
Save