From 511172732004ffdf9aa14b4f50a85b61e147fbf4 Mon Sep 17 00:00:00 2001 From: FulopNandor Date: Sun, 28 Jul 2024 23:18:33 +0200 Subject: [PATCH] Fix TRACE macro usage --- Source/DXLookNFeel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/DXLookNFeel.cpp b/Source/DXLookNFeel.cpp index f1eba5b7..ae2ba73b 100644 --- a/Source/DXLookNFeel.cpp +++ b/Source/DXLookNFeel.cpp @@ -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) { @@ -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; }