1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix a compiler warning

This commit is contained in:
Tom Poole 2023-10-12 12:03:07 +01:00
parent b6337da3fa
commit dd90e18468

View file

@ -2358,7 +2358,7 @@ public:
// The event was a keypress, rather than a text character
if (auto* target = peer->findCurrentTextInputTarget())
if (peer->findCurrentTextInputTarget() != nullptr)
{
// If there's a focused text input target, we want to attempt "real" text input with an
// IME, and we want to prevent the host from eating keystrokes (spaces etc.).