From 47024a3bd5f9b9173319a0c345e546bb573daf56 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 28 May 2021 15:03:47 +0300 Subject: Gempub: Linear navigation with left/right arrow keys --- src/gmdocument.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gmdocument.c') diff --git a/src/gmdocument.c b/src/gmdocument.c index ec406a63..ad8616a3 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c @@ -30,6 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "visited.h" #include "bookmarks.h" #include "app.h" +#include "defs.h" #include #include @@ -400,7 +401,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { static const float bottomMargin[max_GmLineType] = { 0.0f, 0.333f, 1.0f, 0.5f, 0.5f, 0.5f, 0.5f, 0.25f }; - static const char *arrow = "\u27a4"; + static const char *arrow = rightArrowhead_Icon; static const char *envelope = "\U0001f4e7"; static const char *bullet = "\u2022"; static const char *folder = "\U0001f4c1"; -- cgit v1.2.3