Skip to content

Commit

Permalink
Fixed a scrolling direction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RaMMicHaeL committed May 16, 2017
1 parent ec51af5 commit d6187ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RAEdit.c
Original file line number Diff line number Diff line change
Expand Up @@ -3177,7 +3177,7 @@ REG_T RAEditProc(HWND hWin, UINT uMsg, WPARAM wParam, LPARAM lParam)
edx = pMem->fntinfo.fntht;
eax *= edx;
edx = eax;
eax = wParam;
eax = RDWORD_SIGNED(wParam);
if(R_SIGNED(eax) > 0)
{
if(((RAEDT *)esi)->cpy>edx)
Expand Down Expand Up @@ -3217,7 +3217,7 @@ anon_6: ;
}
else if(eax==(MK_CONTROL | MK_SHIFT))
{
eax = wParam;
eax = RDWORD_SIGNED(wParam);
if(R_SIGNED(eax) > 0)
{
eax = SB_LINELEFT;
Expand Down

0 comments on commit d6187ae

Please sign in to comment.