mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
src/debug.c: fix inverted string_null_or_empty() check
Reported-By: Domo via IRC
This commit is contained in:
parent
a98b535362
commit
cd3d88974c
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ get_view_part(struct view *view, struct wlr_scene_node *node)
|
|||
}
|
||||
if (node == &view->scene_tree->node) {
|
||||
const char *app_id = view_get_string_prop(view, "app_id");
|
||||
if (!string_null_or_empty(app_id)) {
|
||||
if (string_null_or_empty(app_id)) {
|
||||
return "view";
|
||||
}
|
||||
snprintf(view_name, sizeof(view_name), "view (%s)", app_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue