framebuffer: support another edge case

This commit is contained in:
Matheus
2022-09-24 17:13:43 -03:00
parent f18e099df1
commit 09df11bcc4
+1
View File
@@ -20,6 +20,7 @@ static int devchecks(int fb, size_t* count, size_t offset){
if(offset >= end){
*count = 0;
return 0;
}
if(*count + offset > end)