mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 04:02:34 +03:00
Allow space bar to be used to page down
This commit is contained in:
parent
28be6d2d79
commit
bf6d56c7fe
@ -652,7 +652,7 @@ static void ami_amiupdate(void)
|
|||||||
|
|
||||||
DevNameFromLock(lock, (STRPTR)&filename, 1024L, DN_FULLPATH);
|
DevNameFromLock(lock, (STRPTR)&filename, 1024L, DN_FULLPATH);
|
||||||
|
|
||||||
if(amiupdatefh = FOpen("ENVARC:AppPaths/NetSurf", MODE_NEWFILE, 0)) {
|
if((amiupdatefh = FOpen("ENVARC:AppPaths/NetSurf", MODE_NEWFILE, 0))) {
|
||||||
FPuts(amiupdatefh, (CONST_STRPTR)&filename);
|
FPuts(amiupdatefh, (CONST_STRPTR)&filename);
|
||||||
FClose(amiupdatefh);
|
FClose(amiupdatefh);
|
||||||
}
|
}
|
||||||
@ -2301,6 +2301,7 @@ static void ami_handle_msg(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case NS_KEY_PAGE_DOWN:
|
case NS_KEY_PAGE_DOWN:
|
||||||
|
case ' ':
|
||||||
ami_gui_scroll_internal(gwin, 0, SCROLL_PAGE_DOWN);
|
ami_gui_scroll_internal(gwin, 0, SCROLL_PAGE_DOWN);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user