summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-01-28 23:10:28 -0500
committerBehdad Esfahbod <behdad@behdad.org>2008-01-28 23:10:28 -0500
commit6e495e94886dfa80f11f675a4b7fa3a767671cc0 (patch)
treed8ef4c7e3d382207278675859417c3cc6b670897 /doc
parenta00d71968285fc8c49903c1c84835a8be32cfbd3 (diff)
[doc] More syntax fixes
Diffstat (limited to 'doc')
-rw-r--r--doc/public/tmpl/cairo-version.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/public/tmpl/cairo-version.sgml b/doc/public/tmpl/cairo-version.sgml
index 012b5fafd..62de21d71 100644
--- a/doc/public/tmpl/cairo-version.sgml
+++ b/doc/public/tmpl/cairo-version.sgml
@@ -77,7 +77,7 @@ rather the many states between snapshots and releases.
Cairo provides the ability to examine the version at either
compile-time or run-time and in both a human-readable form as well as
an encoded form suitable for direct comparison. Cairo also provides a
-macro (CAIRO_VERSION_ENCODE) to perform the encoding.
+macro (CAIRO_VERSION_ENCODE()) to perform the encoding.
</para>
<para>
@@ -100,7 +100,7 @@ to 1.0.0 could be achieved at compile-time or run-time as follows:
<informalexample><programlisting>
##if %CAIRO_VERSION >= %CAIRO_VERSION_ENCODE(1, 0, 0)
-printf ("Compiling with suitable cairo version: %%s\n", CAIRO_VERSION_STRING);
+printf ("Compiling with suitable cairo version: %%s\n", %CAIRO_VERSION_STRING);
##endif
if (cairo_version() >= %CAIRO_VERSION_ENCODE(1, 0, 0))