diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 03a6d999..23845475 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
29 | #include "feeds.h" | 29 | #include "feeds.h" |
30 | #include "bookmarks.h" | 30 | #include "bookmarks.h" |
31 | #include "ui/text.h" | 31 | #include "ui/text.h" |
32 | #include "embedded.h" | 32 | #include "resources.h" |
33 | #include "defs.h" | 33 | #include "defs.h" |
34 | 34 | ||
35 | #include <the_Foundation/archive.h> | 35 | #include <the_Foundation/archive.h> |
@@ -344,19 +344,19 @@ static void requestFinished_GmRequest_(iGmRequest *d, iTlsRequest *req) { | |||
344 | static const iBlock *aboutPageSource_(iRangecc path, iRangecc query) { | 344 | static const iBlock *aboutPageSource_(iRangecc path, iRangecc query) { |
345 | const iBlock *src = NULL; | 345 | const iBlock *src = NULL; |
346 | if (equalCase_Rangecc(path, "about")) { | 346 | if (equalCase_Rangecc(path, "about")) { |
347 | return &blobAbout_Embedded; | 347 | return &blobAbout_Resources; |
348 | } | 348 | } |
349 | if (equalCase_Rangecc(path, "lagrange")) { | 349 | if (equalCase_Rangecc(path, "lagrange")) { |
350 | return &blobLagrange_Embedded; | 350 | return &blobLagrange_Resources; |
351 | } | 351 | } |
352 | if (equalCase_Rangecc(path, "help")) { | 352 | if (equalCase_Rangecc(path, "help")) { |
353 | return &blobHelp_Embedded; | 353 | return &blobHelp_Resources; |
354 | } | 354 | } |
355 | if (equalCase_Rangecc(path, "license")) { | 355 | if (equalCase_Rangecc(path, "license")) { |
356 | return &blobLicense_Embedded; | 356 | return &blobLicense_Resources; |
357 | } | 357 | } |
358 | if (equalCase_Rangecc(path, "version")) { | 358 | if (equalCase_Rangecc(path, "version")) { |
359 | return &blobVersion_Embedded; | 359 | return &blobVersion_Resources; |
360 | } | 360 | } |
361 | if (equalCase_Rangecc(path, "debug")) { | 361 | if (equalCase_Rangecc(path, "debug")) { |
362 | return utf8_String(debugInfo_App()); | 362 | return utf8_String(debugInfo_App()); |
@@ -396,7 +396,7 @@ static const iBlock *replaceVariables_(const iBlock *block) { | |||
396 | #if 0 | 396 | #if 0 |
397 | else if (startsWith_Rangecc(name, "BT:")) { /* block text */ | 397 | else if (startsWith_Rangecc(name, "BT:")) { /* block text */ |
398 | repl = range_String(collect_String(renderBlockChars_Text( | 398 | repl = range_String(collect_String(renderBlockChars_Text( |
399 | &fontFiraSansRegular_Embedded, | 399 | &fontFiraSansRegular_Resources, |
400 | 11, /* should be larger if shaded */ | 400 | 11, /* should be larger if shaded */ |
401 | quadrants_TextBlockMode, | 401 | quadrants_TextBlockMode, |
402 | &(iString){ iBlockLiteral( | 402 | &(iString){ iBlockLiteral( |
@@ -404,7 +404,7 @@ static const iBlock *replaceVariables_(const iBlock *block) { | |||
404 | } | 404 | } |
405 | else if (startsWith_Rangecc(name, "ST:")) { /* shaded text */ | 405 | else if (startsWith_Rangecc(name, "ST:")) { /* shaded text */ |
406 | repl = range_String(collect_String(renderBlockChars_Text( | 406 | repl = range_String(collect_String(renderBlockChars_Text( |
407 | &fontSmolEmojiRegular_Embedded, | 407 | &fontSmolEmojiRegular_Resources, |
408 | 20, | 408 | 20, |
409 | shading_TextBlockMode, | 409 | shading_TextBlockMode, |
410 | &(iString){ iBlockLiteral( | 410 | &(iString){ iBlockLiteral( |