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