From 44b970c8f2a90b9f0b7b984f7dc2c72eedcbe637 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Tue, 12 Mar 2024 08:54:21 +0300 Subject: [PATCH] Fix warning. --- pcbnew/pcbnew_jobs_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcbnew_jobs_handler.cpp b/pcbnew/pcbnew_jobs_handler.cpp index 59021da3d7..9b3a4d92f8 100644 --- a/pcbnew/pcbnew_jobs_handler.cpp +++ b/pcbnew/pcbnew_jobs_handler.cpp @@ -248,8 +248,8 @@ int PCBNEW_JOBS_HANDLER::JobExportRender( JOB* aJob ) Pgm().GetSettingsManager().GetAppSettings(); if( aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::TRANSPARENT - || aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::DEFAULT - && aRenderJob->m_format == JOB_PCB_RENDER::FORMAT::PNG ) + || ( aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::DEFAULT + && aRenderJob->m_format == JOB_PCB_RENDER::FORMAT::PNG ) ) { BOARD_ADAPTER::g_DefaultBackgroundTop = COLOR4D( 1.0, 1.0, 1.0, 0.0 ); BOARD_ADAPTER::g_DefaultBackgroundBot = COLOR4D( 1.0, 1.0, 1.0, 0.0 );