[mutter] monitor-config-manager: Only report Hz to 3 decimal places
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-config-manager: Only report Hz to 3 decimal places
- Date: Fri, 19 Aug 2022 16:05:15 +0000 (UTC)
commit 8e5f5fbe547ff632de1c15037a2d1a439ece8f12
Author: Daniel van Vugt <daniel van vugt canonical com>
Date: Wed Jun 15 18:13:50 2022 +0800
monitor-config-manager: Only report Hz to 3 decimal places
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2465>
src/backends/meta-monitor-config-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/meta-monitor-config-manager.c b/src/backends/meta-monitor-config-manager.c
index 575810b3f9..e782f1444e 100644
--- a/src/backends/meta-monitor-config-manager.c
+++ b/src/backends/meta-monitor-config-manager.c
@@ -324,7 +324,7 @@ assign_monitor_crtcs (MetaMonitorManager *manager,
if (!monitor_mode)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- "Invalid mode %dx%d (%f) for monitor '%s %s'",
+ "Invalid mode %dx%d (%.3f) for monitor '%s %s'",
monitor_mode_spec->width, monitor_mode_spec->height,
monitor_mode_spec->refresh_rate,
monitor_spec->vendor, monitor_spec->product);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]