syntax-string-source: Fix format string problems.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 17 Sep 2010 23:50:44 +0000 (16:50 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 03:45:30 +0000 (20:45 -0700)
commita27e454d1a65872d0b1147f320ba8cc42aa9275f
treed94904f7c909b882c967d5d6e1de1fc13158634d
parentd01cc07b11b5919369bf4e8989360c2b4fe0380c
syntax-string-source: Fix format string problems.

create_syntax_string_source() treated its argument as a printf-style format
string but wasn't annotated properly.  Most of the callers did not pass
string literals and were not escaped, so change it not to format its string
and add a new function create_syntax_format_source() with the previous
behavior.
src/language/syntax-string-source.c
src/language/syntax-string-source.h
src/ui/gui/psppire-data-window.c