PsppireOutputWindow (create_xr_print_driver) fix LC_NUMERIC issues.
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 19 Dec 2012 10:59:09 +0000 (11:59 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 19 Dec 2012 12:01:55 +0000 (13:01 +0100)
commiteee67f3c01c70aa902b82dddc5139eeaa094ad88
treed39736f5c0d1c9963f0cbcec66fc080de229fdca
parentd97b45134c672a8daf9cede78bd844484dcdaaeb
PsppireOutputWindow (create_xr_print_driver) fix LC_NUMERIC issues.

This function used *printf with a %f directive, which  under certain
locales would have generated a string like "270,00x210,00mm" which the
print driver would have rejected.
This change uses the newly available c_xasprintf function from gnulib
to alleviate this problem.
Smake
src/ui/gui/psppire-output-window.c