Allow space bar to be used to page down

This commit is contained in:
Chris Young 2015-11-15 13:52:55 +00:00
parent 28be6d2d79
commit bf6d56c7fe

View File

@ -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;