ascii.c: Use symbol instead of constant literal 20130405030516/pspp 20130406010505/pspp 20130407010512/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 3 Apr 2013 07:37:17 +0000 (09:37 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 4 Apr 2013 16:59:49 +0000 (18:59 +0200)
src/output/ascii.c

index bc1b225a405f5eab2cba4c641d67dea895ade199..00806b4e64bd73a1e9b7e23391049c549981b078 100644 (file)
@@ -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. */