summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2016-06-15 17:36:16 -0700
committerDaniel Stone <daniels@collabora.com>2016-06-21 11:35:21 +1000
commit832e32dc6ccab1a310c1b1f8dbde26a0f09aa005 (patch)
treef7f1a0080921d04b0a5fbfb8b3128a284e28172f /doc
parent07be44abdb9f067f9aba55479d1008edefeeba02 (diff)
downloadlibxkbcommon-832e32dc6ccab1a310c1b1f8dbde26a0f09aa005.tar.gz
libxkbcommon-832e32dc6ccab1a310c1b1f8dbde26a0f09aa005.tar.bz2
libxkbcommon-832e32dc6ccab1a310c1b1f8dbde26a0f09aa005.zip
doc: Fix ctx type in example
xkb_context_new() returns a xkb_context pointer, so change the variable definition to be consistent. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/quick-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/quick-guide.md b/doc/quick-guide.md
index 972d09c..a576070 100644
--- a/doc/quick-guide.md
+++ b/doc/quick-guide.md
@@ -32,7 +32,7 @@ Before we can do anything interesting, we need a library context:
~~~{.c}
#include <xkbcommon/xkbcommon.h>
- struct xkb_context ctx;
+ struct xkb_context *ctx;
ctx = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
if (!ctx) <error>