From 0d8411b975a9eae76956f9a9b48ec40e9ae8d256 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 3 Apr 2013 09:37:17 +0200 Subject: [PATCH] ascii.c: Use symbol instead of constant literal --- src/output/ascii.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output/ascii.c b/src/output/ascii.c index bc1b225..00806b4 100644 --- a/src/output/ascii.c +++ b/src/output/ascii.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -127,7 +127,7 @@ static const ucs4_t unicode_box_chars[N_BOX] = static inline int make_box_index (int left, int right, int top, int bottom) { - return ((right * 3 + bottom) * 3 + left) * 3 + top; + return ((right * RENDER_N_LINES + bottom) * RENDER_N_LINES + left) * RENDER_N_LINES + top; } /* How to emphasize text. */ -- 1.7.2.5