mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:26:01 +01:00
Fix return value
This commit is contained in:
parent
2ef85e7329
commit
c26949ff05
1 changed files with 2 additions and 3 deletions
|
@ -649,11 +649,10 @@ iterate_instances_call_synctex_view(const char* filename,
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
zathura_dbus_synctex_position(const char* filename, const char* input_file,
|
zathura_dbus_synctex_position(const char* filename, const char* input_file, int line, int column, pid_t hint)
|
||||||
int line, int column, pid_t hint)
|
|
||||||
{
|
{
|
||||||
if (filename == NULL || input_file == NULL || line < 0 || column < 0) {
|
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);
|
return iterate_instances_call_synctex_view(filename, input_file, line, column, hint);
|
||||||
|
|
Loading…
Reference in a new issue