nonlib/OSC: Don't try to send feedback to non-existent path.

Closes #227.
This commit is contained in:
Jonathan Moore Liles 2018-02-14 17:26:26 -08:00
parent 1904aba516
commit 5ae43bb27c
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 92365eca0f9a6f054abc70489c009aba0fcde0ff Subproject commit 1e3f5106d404562902bed2983403301db24a3f78

View File

@ -1085,7 +1085,7 @@ namespace OSC
i != _translations.end(); i != _translations.end();
i++ ) i++ )
{ {
if ( ! strcmp( i->second.path.c_str(), path ) ) if ( path && ! strcmp( i->second.path.c_str(), path ) )
{ {
/* found it */ /* found it */
if ( !i->second.suppress_feedback && i->second.current_value != v ) if ( !i->second.suppress_feedback && i->second.current_value != v )