summaryrefslogtreecommitdiff
path: root/src/gmrequest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r--src/gmrequest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c
index 3dd92eec..1325c025 100644
--- a/src/gmrequest.c
+++ b/src/gmrequest.c
@@ -346,6 +346,7 @@ static const iBlock *replaceVariables_(const iBlock *block) {
346 if (equal_Rangecc(name, "APP_VERSION")) { 346 if (equal_Rangecc(name, "APP_VERSION")) {
347 repl = range_CStr(LAGRANGE_APP_VERSION); 347 repl = range_CStr(LAGRANGE_APP_VERSION);
348 } 348 }
349#if 0
349 else if (startsWith_Rangecc(name, "BT:")) { /* block text */ 350 else if (startsWith_Rangecc(name, "BT:")) { /* block text */
350 repl = range_String(collect_String(renderBlockChars_Text( 351 repl = range_String(collect_String(renderBlockChars_Text(
351 &fontFiraSansRegular_Embedded, 352 &fontFiraSansRegular_Embedded,
@@ -356,12 +357,13 @@ static const iBlock *replaceVariables_(const iBlock *block) {
356 } 357 }
357 else if (startsWith_Rangecc(name, "ST:")) { /* shaded text */ 358 else if (startsWith_Rangecc(name, "ST:")) { /* shaded text */
358 repl = range_String(collect_String(renderBlockChars_Text( 359 repl = range_String(collect_String(renderBlockChars_Text(
359 &fontSymbola_Embedded, 360 &fontSmolEmojiRegular_Embedded,
360 20, 361 20,
361 shading_TextBlockMode, 362 shading_TextBlockMode,
362 &(iString){ iBlockLiteral( 363 &(iString){ iBlockLiteral(
363 name.start + 3, size_Range(&name) - 3, size_Range(&name) - 3) }))); 364 name.start + 3, size_Range(&name) - 3, size_Range(&name) - 3) })));
364 } 365 }
366#endif
365 else if (equal_Rangecc(name, "ALT")) { 367 else if (equal_Rangecc(name, "ALT")) {
366#if defined (iPlatformApple) 368#if defined (iPlatformApple)
367 repl = range_CStr("\u2325"); 369 repl = range_CStr("\u2325");