Fix return value

This commit is contained in:
Sebastian Ramacher 2022-05-13 00:05:27 +02:00
parent 2ef85e7329
commit c26949ff05

View file

@ -649,11 +649,10 @@ iterate_instances_call_synctex_view(const char* filename,
}
int
zathura_dbus_synctex_position(const char* filename, const char* input_file,
int line, int column, pid_t hint)
zathura_dbus_synctex_position(const char* filename, const char* input_file, int line, int column, pid_t hint)
{
if (filename == NULL || input_file == NULL || line < 0 || column < 0) {
return false;
return -1;
}
return iterate_instances_call_synctex_view(filename, input_file, line, column, hint);