From 832e32dc6ccab1a310c1b1f8dbde26a0f09aa005 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Wed, 15 Jun 2016 17:36:16 -0700 Subject: [PATCH] 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 --- doc/quick-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 - struct xkb_context ctx; + struct xkb_context *ctx; ctx = xkb_context_new(XKB_CONTEXT_NO_FLAGS); if (!ctx) -- 2.7.4