projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01356bc
)
tools: fix help string for manual DPI calculation
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 23 Apr 2015 00:36:55 +0000
(10:36 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 23 Apr 2015 00:36:55 +0000
(10:36 +1000)
https://bugs.freedesktop.org/show_bug.cgi?id=90143
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/mouse-dpi-tool.c
patch
|
blob
|
history
diff --git
a/tools/mouse-dpi-tool.c
b/tools/mouse-dpi-tool.c
index
be30a4d
..
d05a4fd
100644
(file)
--- 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*