summaryrefslogtreecommitdiff
path: root/src/dosfns.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2014-04-03 13:46:04 -0700
committerDaniel Colascione <dancol@dancol.org>2014-04-03 13:46:04 -0700
commitc72d972c5dee96489a3fd881b239f3f7d0db2385 (patch)
treee2004a9d5ed96a27bf9f88a9bfe2b2c097245e29 /src/dosfns.c
parent705cf384bec23354ad22a5c48d3430a96ef70ca1 (diff)
downloademacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.tar.gz
emacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.tar.bz2
emacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.zip
Rename EARRAYSIZE to ARRAYELTS
Diffstat (limited to 'src/dosfns.c')
-rw-r--r--src/dosfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dosfns.c b/src/dosfns.c
index b98e3cd8f29..baa0358d725 100644
--- a/src/dosfns.c
+++ b/src/dosfns.c
@@ -402,7 +402,7 @@ msdos_stdcolor_idx (const char *name)
{
int i;
- for (i = 0; i < EARRAYSIZE (vga_colors); i++)
+ for (i = 0; i < ARRAYELTS (vga_colors); i++)
if (xstrcasecmp (name, vga_colors[i]) == 0)
return i;
@@ -422,7 +422,7 @@ msdos_stdcolor_name (int idx)
return build_string (unspecified_fg);
else if (idx == FACE_TTY_DEFAULT_BG_COLOR)
return build_string (unspecified_bg);
- else if (idx >= 0 && idx < EARRAYSIZE (vga_colors))
+ else if (idx >= 0 && idx < ARRAYELTS (vga_colors))
return build_string (vga_colors[idx]);
else
return Qunspecified; /* meaning the default */