i3-input: Bugfix: Don’t try to convert the prompt if there is no prompt
This commit is contained in:
parent
ad84c07c8a
commit
acb07b95c0
|
@ -274,6 +274,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
sockfd = connect_ipc(socket_path);
|
sockfd = connect_ipc(socket_path);
|
||||||
|
|
||||||
|
if (prompt != NULL)
|
||||||
prompt = convert_utf8_to_ucs2(prompt, &prompt_len);
|
prompt = convert_utf8_to_ucs2(prompt, &prompt_len);
|
||||||
|
|
||||||
int screens;
|
int screens;
|
||||||
|
|
Loading…
Reference in New Issue