mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
st/gui: Show name of device when no modes are found
This commit is contained in:
parent
f4143d7017
commit
9d009784b6
1
doc/changes/state_trackers/mr.269.md
Normal file
1
doc/changes/state_trackers/mr.269.md
Normal file
|
@ -0,0 +1 @@
|
|||
gui: Fix name not being shown when video device does not have any modes.
|
|
@ -84,7 +84,7 @@ scene_render(struct gui_scene *scene, struct gui_program *p)
|
|||
xrt_prober_list_video_devices(p->xp, on_video_device, vs);
|
||||
} else if (vs->num_modes == 0) {
|
||||
// No modes on it :(
|
||||
igText("No modes found on '%s'!", "vs->xfs->name");
|
||||
igText("No modes found on '%s'!", vs->xfs->name);
|
||||
}
|
||||
|
||||
// We have selected a stream device and it has modes.
|
||||
|
|
Loading…
Reference in a new issue