summaryrefslogtreecommitdiff
path: root/src/msdos.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-06-25 12:28:47 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-06-25 12:28:47 +0200
commitfb7da12e7560ce31fc88f829cff94723c3bbc5fa (patch)
tree67210dc17bf5d1b9bff0df04d8043bf19d184dcc /src/msdos.c
parent75d5be5c60ec0f3d20a97812bf8858c38b6cba9f (diff)
downloademacs-fb7da12e7560ce31fc88f829cff94723c3bbc5fa.tar.gz
* keyboard.c (menu_bar_items, menu_bar_item, read_key_sequence):
Avoid comma operator. * menu.c (push_submenu_start, push_submenu_end) (push_left_right_boundary, push_menu_pane): Likewise. * msdos.c (dos_rawgetc): Likewise.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 66911098ce0..a79fad0ccd4 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -2466,10 +2466,12 @@ dos_rawgetc (void)
sc = regs.h.ah;
total_doskeys += 2;
- ASET (recent_doskeys, recent_doskeys_index, make_number (c)), recent_doskeys_index++;
+ ASET (recent_doskeys, recent_doskeys_index, make_number (c));
+ recent_doskeys_index++;
if (recent_doskeys_index == NUM_RECENT_DOSKEYS)
recent_doskeys_index = 0;
- ASET (recent_doskeys, recent_doskeys_index, make_number (sc)), recent_doskeys_index++;
+ ASET (recent_doskeys, recent_doskeys_index, make_number (sc));
+ recent_doskeys_index++;
if (recent_doskeys_index == NUM_RECENT_DOSKEYS)
recent_doskeys_index = 0;