summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/defs.h1
-rw-r--r--src/gmdocument.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index f199fd2b..a81d57f1 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -157,6 +157,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) {
157#define undo_Icon "\u23ea" 157#define undo_Icon "\u23ea"
158#define select_Icon "\u2b1a" 158#define select_Icon "\u2b1a"
159#define downAngle_Icon "\ufe40" 159#define downAngle_Icon "\ufe40"
160#define photo_Icon "\U0001f5bb"
160 161
161#if defined (iPlatformApple) 162#if defined (iPlatformApple)
162# define shift_Icon "\u21e7" 163# define shift_Icon "\u21e7"
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 97c7b41b..22f409a6 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -508,6 +508,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
508 static const char *magnifyingGlass = "\U0001f50d"; 508 static const char *magnifyingGlass = "\U0001f50d";
509 static const char *pointingFinger = "\U0001f449"; 509 static const char *pointingFinger = "\U0001f449";
510 static const char *uploadArrow = upload_Icon; 510 static const char *uploadArrow = upload_Icon;
511 static const char *image = photo_Icon;
511 clear_Array(&d->layout); 512 clear_Array(&d->layout);
512 clearLinks_GmDocument_(d); 513 clearLinks_GmDocument_(d);
513 clear_Array(&d->headings); 514 clear_Array(&d->headings);
@@ -766,6 +767,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
766 : scheme == finger_GmLinkScheme ? pointingFinger 767 : scheme == finger_GmLinkScheme ? pointingFinger
767 : scheme == mailto_GmLinkScheme ? envelope 768 : scheme == mailto_GmLinkScheme ? envelope
768 : link->flags & remote_GmLinkFlag ? globe 769 : link->flags & remote_GmLinkFlag ? globe
770 : link->flags & imageFileExtension_GmLinkFlag ? image
769 : arrow); 771 : arrow);
770 /* Custom link icon is shown on local Gemini links only. */ 772 /* Custom link icon is shown on local Gemini links only. */
771 if (!isEmpty_Range(&link->labelIcon)) { 773 if (!isEmpty_Range(&link->labelIcon)) {