Skip to content

Commit

Permalink
Fix TRACE macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
FulopNandor committed Jul 28, 2024
1 parent 485fbd9 commit 5111727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/DXLookNFeel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void replaceImage(String path, Image &image) {
img = ImageCache::getFromFile(imgFile);
if (!img.isNull()) {
// check sizes
int hnew = img.getWidth();
int wnew = img.getHeight();
int hnew = img.getHeight();
int wnew = img.getWidth();
int horig = image.getHeight();
int worig = image.getWidth();
if (horig != hnew || worig != wnew) {
Expand Down Expand Up @@ -139,7 +139,7 @@ DXLookNFeel::DXLookNFeel() {
File dexedTheme = DexedAudioProcessor::dexedAppDir.getChildFile("DexedTheme.xml");

if ( ! dexedTheme.existsAsFile() ) {
TRACE("file \"%s\" does not exists", dexedTheme.getFullPathName());
TRACE("file \"%s\" does not exists", dexedTheme.getFullPathName().toRawUTF8());
return;
}

Expand Down

0 comments on commit 5111727

Please sign in to comment.