mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-20 21:25:32 +01:00
Check strlen in search function
This commit is contained in:
parent
22aa388349
commit
15d38f10cc
1 changed files with 3 additions and 0 deletions
|
@ -1917,6 +1917,9 @@ bcmd_zoom(char* buffer, Argument* argument)
|
||||||
gboolean
|
gboolean
|
||||||
scmd_search(char* input, Argument* argument)
|
scmd_search(char* input, Argument* argument)
|
||||||
{
|
{
|
||||||
|
if(!strlen(input))
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
argument->data = input;
|
argument->data = input;
|
||||||
sc_search(argument);
|
sc_search(argument);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue