projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c3a04
)
work
rust
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 19 Dec 2025 20:54:28 +0000
(12:54 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 19 Dec 2025 20:54:28 +0000
(12:54 -0800)
rust/pspp/src/output/drivers/cairo/driver.rs
patch
|
blob
|
history
diff --git
a/rust/pspp/src/output/drivers/cairo/driver.rs
b/rust/pspp/src/output/drivers/cairo/driver.rs
index bbe75c40b353ab01492487c6fccfa0bcf0e5725c..14cf853d9acd22c86b180134729c60d9cefdcdae 100644
(file)
--- a/
rust/pspp/src/output/drivers/cairo/driver.rs
+++ b/
rust/pspp/src/output/drivers/cairo/driver.rs
@@
-140,7
+140,7
@@
impl Driver for CairoDriver {
});
let mut cursor = ItemCursor::new(item.clone());
while let Some(item) = cursor.cur() {
- if let
Details::Text(text) = &item.details
+ if let
Some(text) = item.details.as_text()
&& text.type_ == TextType::PageTitle
{
self.title = text.content.display(()).to_string();