diff options
m--------- | liberty | 0 | ||||
-rw-r--r-- | nncmpp.c | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/liberty b/liberty -Subproject 75fc6f1c374796f9e794297c3893089009b8772 +Subproject 017cb1d5702a32603810545cd74c1da65e35d12 @@ -3785,6 +3785,8 @@ static void search_on_changed (void) { struct mpd_client *c = &g.client; + if (c->state != MPD_CONNECTED) + return; size_t len; char *u8 = (char *) u32_to_u8 (g.editor.line, g.editor.len + 1, NULL, &len); |