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:
parent
b6337da3fa
commit
dd90e18468
1 changed files with 1 additions and 1 deletions
|
|
@ -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.).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue