diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index dbe29c4e..8eb58b21 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2731,7 +2731,7 @@ static void updateDocument_DocumentWidget_(iDocumentWidget *d, | |||
2731 | : "media.untitled.audio"); | 2731 | : "media.untitled.audio"); |
2732 | iUrl parts; | 2732 | iUrl parts; |
2733 | init_Url(&parts, d->mod.url); | 2733 | init_Url(&parts, d->mod.url); |
2734 | if (!isEmpty_Range(&parts.path)) { | 2734 | if (!isEmpty_Range(&parts.path) && !equalCase_Rangecc(parts.scheme, "data")) { |
2735 | linkTitle = | 2735 | linkTitle = |
2736 | baseName_Path(collect_String(newRange_String(parts.path))).start; | 2736 | baseName_Path(collect_String(newRange_String(parts.path))).start; |
2737 | } | 2737 | } |