sigrid
/
pdffs
Code
Insights
/
History
fix empty page handling
NP
Noam Preil
committed 5 years ago
Commit
5a668f4
1 parent
464b83a
1 file ·
+1
−1
Browse files
Unified
·
Split
main.c
+1
−1
@@ -20,7 +20,7 @@ dumppage(Object *page)
· 19 unmodified lines
20
20
{
21
21
Page p;
22
22
pageinit(&p);
23
−
if(pagerender(&p, page))
23
+
if(pagerender(&p, page)
&& p.buf.sz != 0
)
24
24
write(1, p.buf.b, p.buf.sz);
25
25
pagefree(&p);
26
26
}
Keyboard shortcuts
Close
General
Show keyboard shortcuts
?
Focus the current search
/
Issues and pull requests
Open filters
f
Issues, pull requests and Inbox
Select next item
j
↓
Select previous item
k
↑
Open selected item
Enter
Dismiss filters or clear selection
Esc
Repository code
Go to file
t