windeployqt: a little readability improvement

Break the long sentence to improve the logic readability a bit.

Change-Id: I3d0227e616a3c47e14ae7b5cfe4b47a39d778e5e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 21baa7623025308a39577e7582c023b1d3ae11d6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Yuhang Zhao 2022-12-23 13:38:22 +08:00 committed by Qt Cherry-pick Bot
parent 838d0b17e9
commit 4776260a45

View File

@ -737,7 +737,11 @@ inline void determineDebugAndDependentLibs(const ImageNtHeader *nth, const void
} else {
// When an MSVC debug entry is present, check whether the debug runtime
// is actually used to detect -release / -force-debug-info builds.
*isDebugIn = hasDebugEntry && checkMsvcDebugRuntime(dependentLibraries) != MsvcReleaseRuntime;
const MsvcDebugRuntimeResult msvcrt = checkMsvcDebugRuntime(dependentLibraries);
if (msvcrt == NoMsvcRuntime)
*isDebugIn = hasDebugEntry;
else
*isDebugIn = hasDebugEntry && msvcrt == MsvcDebugRuntime;
}
}
}