mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Added missing ()'s for allocations
This commit is contained in:
parent
2320e2eb8c
commit
40fe76d903
10 changed files with 21 additions and 21 deletions
|
@ -310,7 +310,7 @@ namespace Beefy.theme.dark
|
|||
delete mWindowTopImage;
|
||||
}
|
||||
|
||||
Image themeImg = Image.LoadFromFile(scope String..Append(tempStr, BFApp.sApp.mInstallDir, "images/DarkTheme.png"), .AllowRead);
|
||||
Image themeImg = Image.LoadFromFile(scope String()..Append(tempStr, BFApp.sApp.mInstallDir, "images/DarkTheme.png"), .AllowRead);
|
||||
defer delete themeImg;
|
||||
uint32[5] bits = ?;
|
||||
themeImg.GetBits(0, 0, bits.Count, 1, bits.Count, &bits);
|
||||
|
@ -335,7 +335,7 @@ namespace Beefy.theme.dark
|
|||
|
||||
mIconError = LoadSizedImage("IconError");
|
||||
mIconWarning = LoadSizedImage("IconWarning");
|
||||
mThemeImage = Image.LoadFromFile(scope String..Append(tempStr, BFApp.sApp.mInstallDir, "images/", uiFileName));
|
||||
mThemeImage = Image.LoadFromFile(scope String()..Append(tempStr, BFApp.sApp.mInstallDir, "images/", uiFileName));
|
||||
|
||||
for (int32 i = 0; i < (int32)ImageIdx.COUNT; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue