It would get truncated anyway. And how is it wrong if: - Correct branch gets - Correct result values returns depending on if notepad is open or not - it is working in release