cinera: Fix bug in image URL prefix construction

This commit is contained in:
Matt Mascarenhas 2017-12-18 00:15:03 +00:00
parent 153d14a810
commit 1bbdf5aea4
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ typedef struct
version CINERA_APP_VERSION = { version CINERA_APP_VERSION = {
.Major = 0, .Major = 0,
.Minor = 5, .Minor = 5,
.Patch = 10 .Patch = 11
}; };
#define CINERA_DB_VERSION 2 #define CINERA_DB_VERSION 2
@ -1013,7 +1013,7 @@ SearchCredentials(buffer *CreditsMenu, bool *HasCreditsMenu, char *Person, char
{ {
buffer URLPrefix; buffer URLPrefix;
ClaimBuffer(&URLPrefix, "URLPrefix", 1024); ClaimBuffer(&URLPrefix, "URLPrefix", 1024);
ConstructURLPrefix(&URLPrefix, INCLUDE_Images, PAGE_INDEX); ConstructURLPrefix(&URLPrefix, INCLUDE_Images, PAGE_PLAYER);
CopyStringToBuffer(CreditsMenu, CopyStringToBuffer(CreditsMenu,
" <a class=\"support\" href=\"%s\" target=\"_blank\"><div class=\"support_icon\" style=\"background-image: url(%s%s);\"></div></a>\n", " <a class=\"support\" href=\"%s\" target=\"_blank\"><div class=\"support_icon\" style=\"background-image: url(%s%s);\"></div></a>\n",
Credentials[CredentialIndex].SupportURL, Credentials[CredentialIndex].SupportURL,
@ -2745,7 +2745,7 @@ AppendedIdentifier:
buffer URLPrefix; buffer URLPrefix;
ClaimBuffer(&URLPrefix, "URLPrefix", 1024); ClaimBuffer(&URLPrefix, "URLPrefix", 1024);
ConstructURLPrefix(&URLPrefix, INCLUDE_Images, PAGE_INDEX); ConstructURLPrefix(&URLPrefix, INCLUDE_Images, PAGE_PLAYER);
CopyStringToBuffer(&FilterMenu, CopyStringToBuffer(&FilterMenu,
" <div class=\"menu filter\">\n" " <div class=\"menu filter\">\n"
" <span><img src=\"%scinera_icon_filter.png\"></span>\n" " <span><img src=\"%scinera_icon_filter.png\"></span>\n"