summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-04-23 10:36:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-04-23 10:36:55 +1000
commitd26973216c71559ac08d145aebd8dec6fba14349 (patch)
treec2d0bac9375eebf4410606a5dea721c0e539dfcc /tools
parent01356bc5f2c0a988c199cdcc63d8b3555b315973 (diff)
downloadlibevdev-d26973216c71559ac08d145aebd8dec6fba14349.tar.gz
tools: fix help string for manual DPI calculation
https://bugs.freedesktop.org/show_bug.cgi?id=90143 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/mouse-dpi-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mouse-dpi-tool.c b/tools/mouse-dpi-tool.c
index be30a4d..d05a4fd 100644
--- a/tools/mouse-dpi-tool.c
+++ b/tools/mouse-dpi-tool.c
@@ -185,7 +185,7 @@ print_summary(struct measurements *m)
}
printf("If your resolution is not in the list, calculate it with:\n"
"\tresolution=%d/inches, or\n"
- "\tresolution=%d/(mm * 25.4)\n", m->distance, m->distance);
+ "\tresolution=%d * 25.4/mm\n", m->distance, m->distance);
}
static inline const char*