Split verbose mode printing into a helper function
authorAaron Plattner <aplattner@nvidia.com>
Thu, 9 Apr 2015 18:14:54 +0000 (11:14 -0700)
committerAaron Plattner <aplattner@nvidia.com>
Wed, 22 Apr 2015 14:42:18 +0000 (07:42 -0700)
commit09989b09a342b273ee30e1d96267dced3cbe61b0
tree00813ca8c5ab1a871c69100f07d43ea3c99ee239
parentd06730e94320175d40ff6f2bb38dce55312f2e54
Split verbose mode printing into a helper function

Combine the two forms of verbose mode printing into a single function.  Pass the
'current' and 'preferred' flags as arguments.  This fixes the code that prints
unassociated modes to print the flags as well.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
xrandr.c