[stats] fix up non-linux unix compilation

pull/2388/head
nick black 3 years ago
parent 5d547d3678
commit 2fbfdbb19a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -285,6 +285,8 @@ int update_term_dimensions(unsigned* rows, unsigned* cols, tinfo* tcache,
if(tcache->linux_fb_fd >= 0){
get_linux_fb_pixelgeom(tcache, &tcache->pixy, &tcache->pixx);
}else{
#else
{
#endif
// we might have the pixel geometry from CSI14t, so don't override a valid
// earlier response with 0s from the ioctl. we do want to fire off a fresh

Loading…
Cancel
Save