Commit c26949ff authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix return value

parent 2ef85e73
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment