aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorDaniel Colascione2014-04-03 13:46:04 -0700
committerDaniel Colascione2014-04-03 13:46:04 -0700
commitc72d972c5dee96489a3fd881b239f3f7d0db2385 (patch)
treee2004a9d5ed96a27bf9f88a9bfe2b2c097245e29 /src/msdos.c
parent705cf384bec23354ad22a5c48d3430a96ef70ca1 (diff)
downloademacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.tar.gz
emacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.zip
Rename EARRAYSIZE to ARRAYELTS
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 2b636977f61..6b677bb2f02 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -564,7 +564,7 @@ dos_set_window_size (int *rows, int *cols)
564 }; 564 };
565 int i = 0; 565 int i = 0;
566 566
567 while (i < EARRAYSIZE (std_dimension)) 567 while (i < ARRAYELTS (std_dimension))
568 { 568 {
569 if (std_dimension[i].need_vga <= have_vga 569 if (std_dimension[i].need_vga <= have_vga
570 && std_dimension[i].rows >= *rows) 570 && std_dimension[i].rows >= *rows)
@@ -3465,7 +3465,7 @@ init_environment (int argc, char **argv, int skip_args)
3465 static const char * const tempdirs[] = { 3465 static const char * const tempdirs[] = {
3466 "$TMPDIR", "$TEMP", "$TMP", "c:/" 3466 "$TMPDIR", "$TEMP", "$TMP", "c:/"
3467 }; 3467 };
3468 const int imax = EARRAYSIZE (tempdirs); 3468 const int imax = ARRAYELTS (tempdirs);
3469 3469
3470 /* Make sure they have a usable $TMPDIR. Many Emacs functions use 3470 /* Make sure they have a usable $TMPDIR. Many Emacs functions use
3471 temporary files and assume "/tmp" if $TMPDIR is unset, which 3471 temporary files and assume "/tmp" if $TMPDIR is unset, which