]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Remove some line terminators from log messages
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 16 Nov 2024 00:12:43 +0000 (01:12 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 16 Nov 2024 22:13:17 +0000 (22:13 +0000)
src/config/touch.c
src/img/img-svg.c
src/seat.c
src/view-impl-common.c

index bd2bc06835392eb945ae2e78e01d38f44bf8b995..2c93d8f309f000808a86a51dbb5f2a3d39e08ca3 100644 (file)
@@ -21,11 +21,11 @@ find_default_config(void)
 struct touch_config_entry *
 touch_find_config_for_device(char *device_name)
 {
-       wlr_log(WLR_INFO, "find touch configuration for %s\n", device_name);
+       wlr_log(WLR_INFO, "find touch configuration for %s", device_name);
        struct touch_config_entry *entry;
        wl_list_for_each(entry, &rc.touch_configs, link) {
                if (entry->device_name && !strcasecmp(entry->device_name, device_name)) {
-                       wlr_log(WLR_INFO, "found touch configuration for %s\n", device_name);
+                       wlr_log(WLR_INFO, "found touch configuration for %s", device_name);
                        return entry;
                }
        }
index baab5faabc1f2afd2065457398ef5d9850982061..9480ce56df1f21900fda5f01c53437d659b6dbf4 100644 (file)
@@ -45,7 +45,7 @@ img_svg_load(const char *filename, struct lab_data_buffer **buffer, int size,
 
        rsvg_handle_render_document(svg, cr, &viewport, &err);
        if (err) {
-               wlr_log(WLR_ERROR, "error rendering svg %s-%s\n", filename, err->message);
+               wlr_log(WLR_ERROR, "error rendering svg %s-%s", filename, err->message);
                g_error_free(err);
                goto error;
        }
index e42158822ff3bfb6ba80de02b56b574c23f6bc2f..f87cc6e96e55ef35f7a7bdf615c2af8fd914663a 100644 (file)
@@ -284,7 +284,7 @@ static void
 map_pointer_to_output(struct seat *seat, struct wlr_input_device *dev)
 {
        struct wlr_pointer *pointer = wlr_pointer_from_input_device(dev);
-       wlr_log(WLR_INFO, "map pointer to output %s\n", pointer->output_name);
+       wlr_log(WLR_INFO, "map pointer to output %s", pointer->output_name);
        map_input_to_output(seat, dev, pointer->output_name);
 }
 
@@ -353,7 +353,7 @@ map_touch_to_output(struct seat *seat, struct wlr_input_device *dev)
        }
 
        char *output_name = touch->output_name ? touch->output_name : touch_config_output_name;
-       wlr_log(WLR_INFO, "map touch to output %s\n", output_name ? output_name : "unknown");
+       wlr_log(WLR_INFO, "map touch to output %s", output_name ? output_name : "unknown");
        map_input_to_output(seat, dev, output_name);
 }
 
@@ -378,7 +378,7 @@ new_tablet(struct seat *seat, struct wlr_input_device *dev)
        input->wlr_input_device = dev;
        tablet_create(seat, dev);
        wlr_cursor_attach_input_device(seat->cursor, dev);
-       wlr_log(WLR_INFO, "map tablet to output %s\n", rc.tablet.output_name);
+       wlr_log(WLR_INFO, "map tablet to output %s", rc.tablet.output_name);
        map_input_to_output(seat, dev, rc.tablet.output_name);
 
        return input;
index 24d47c730b86034b3814616975352bb97aea109a..7638f91943f76250b772c39bbf71a712c3954ce0 100644 (file)
@@ -54,7 +54,7 @@ view_impl_map(struct view *view)
         */
        desktop_update_top_layer_visiblity(view->server);
 
-       wlr_log(WLR_DEBUG, "[map] identifier=%s, title=%s\n",
+       wlr_log(WLR_DEBUG, "[map] identifier=%s, title=%s",
                view_get_string_prop(view, "app_id"),
                view_get_string_prop(view, "title"));
 }