Drop the trailing slash from the HTTP_DOC_LINK

It makes the printf statements nicer and we ne don't use it on its own
anywhere anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-09-09 11:17:12 +10:00
parent d007a8155b
commit a62e2b14a2
6 changed files with 10 additions and 10 deletions

View file

@ -52,9 +52,9 @@ config_h = configuration_data()
doc_url_base = 'https://wayland.freedesktop.org/libinput/doc' doc_url_base = 'https://wayland.freedesktop.org/libinput/doc'
if libinput_version[2].to_int() >= 90 if libinput_version[2].to_int() >= 90
doc_url = '@0@/latest/'.format(doc_url_base) doc_url = '@0@/latest'.format(doc_url_base)
else else
doc_url = '@0@/@1@/'.format(doc_url_base, meson.project_version()) doc_url = '@0@/@1@'.format(doc_url_base, meson.project_version())
endif endif
config_h.set_quoted('HTTP_DOC_LINK', doc_url) config_h.set_quoted('HTTP_DOC_LINK', doc_url)

View file

@ -162,7 +162,7 @@ debounce_enable_spurious(struct fallback_dispatch *fallback)
fallback->debounce.spurious_enabled = true; fallback->debounce.spurious_enabled = true;
evdev_log_info(fallback->device, evdev_log_info(fallback->device,
"Enabling spurious button debouncing, " "Enabling spurious button debouncing, "
"see %sbutton-debouncing.html for details\n", "see %s/button-debouncing.html for details\n",
HTTP_DOC_LINK); HTTP_DOC_LINK);
} }

View file

@ -201,7 +201,7 @@ tp_detect_wobbling(struct tp_dispatch *tp,
tp->hysteresis.enabled = true; tp->hysteresis.enabled = true;
evdev_log_debug(tp->device, evdev_log_debug(tp->device,
"hysteresis enabled. " "hysteresis enabled. "
"See %stouchpad-jitter.html for details\n", "See %s/touchpad-jitter.html for details\n",
HTTP_DOC_LINK); HTTP_DOC_LINK);
} }
} }
@ -1754,7 +1754,7 @@ tp_process_state(struct tp_dispatch *tp, uint64_t time)
evdev_log_bug_kernel_ratelimit(tp->device, evdev_log_bug_kernel_ratelimit(tp->device,
&tp->jump.warning, &tp->jump.warning,
"Touch jump detected and discarded.\n" "Touch jump detected and discarded.\n"
"See %stouchpad-jumping-cursors.html for details\n", "See %s/touchpad-jumping-cursors.html for details\n",
HTTP_DOC_LINK); HTTP_DOC_LINK);
tp_motion_history_reset(t); tp_motion_history_reset(t);
} }
@ -3494,7 +3494,7 @@ tp_init_hysteresis(struct tp_dispatch *tp)
if (tp->hysteresis.enabled) if (tp->hysteresis.enabled)
evdev_log_debug(tp->device, evdev_log_debug(tp->device,
"hysteresis enabled. " "hysteresis enabled. "
"See %stouchpad-jitter.html for details\n", "See %s/touchpad-jitter.html for details\n",
HTTP_DOC_LINK); HTTP_DOC_LINK);
} }

View file

@ -1345,7 +1345,7 @@ detect_pressure_offset(struct tablet_dispatch *tablet,
if (offset > axis_range_percentage(pressure, 20)) { if (offset > axis_range_percentage(pressure, 20)) {
evdev_log_error(device, evdev_log_error(device,
"Ignoring pressure offset greater than 20%% detected on tool %s (serial %#x). " "Ignoring pressure offset greater than 20%% detected on tool %s (serial %#x). "
"See %stablet-support.html\n", "See %s/tablet-support.html\n",
tablet_tool_type_to_string(tool->type), tablet_tool_type_to_string(tool->type),
tool->serial, tool->serial,
HTTP_DOC_LINK); HTTP_DOC_LINK);
@ -1354,7 +1354,7 @@ detect_pressure_offset(struct tablet_dispatch *tablet,
evdev_log_info(device, evdev_log_info(device,
"Pressure offset detected on tool %s (serial %#x). " "Pressure offset detected on tool %s (serial %#x). "
"See %stablet-support.html\n", "See %s/tablet-support.html\n",
tablet_tool_type_to_string(tool->type), tablet_tool_type_to_string(tool->type),
tool->serial, tool->serial,
HTTP_DOC_LINK); HTTP_DOC_LINK);

View file

@ -1003,7 +1003,7 @@ evdev_device_check_abs_axis_range(struct evdev_device *device,
log_info_ratelimit(evdev_libinput_context(device), log_info_ratelimit(evdev_libinput_context(device),
&device->abs.warning_range.range_warn_limit, &device->abs.warning_range.range_warn_limit,
"Axis %#x value %d is outside expected range [%d, %d]\n" "Axis %#x value %d is outside expected range [%d, %d]\n"
"See %sabsolute_coordinate_ranges.html for details\n", "See %s/absolute_coordinate_ranges.html for details\n",
code, value, min, max, code, value, min, max,
HTTP_DOC_LINK); HTTP_DOC_LINK);
} }

View file

@ -1821,7 +1821,7 @@ libinput_init_quirks(struct libinput *libinput)
log_error(libinput, log_error(libinput,
"Failed to load the device quirks from %s%s%s. " "Failed to load the device quirks from %s%s%s. "
"This will negatively affect device behavior. " "This will negatively affect device behavior. "
"See %sdevice-quirks.html for details.\n", "See %s/device-quirks.html for details.\n",
data_path, data_path,
override_file ? " and " : "", override_file ? " and " : "",
override_file ? override_file : "", override_file ? override_file : "",