X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fapple2.c;h=d50fb015c833c85514026d54207f6bc485123689;hp=8e7cf41d1b293dce1dca7ea301916ec5770e6076;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hpb=50be9bb40dc60130c99ffa568e6677779904ff70 diff --git a/hacks/apple2.c b/hacks/apple2.c index 8e7cf41d..d50fb015 100644 --- a/hacks/apple2.c +++ b/hacks/apple2.c @@ -671,11 +671,12 @@ apple2_one_frame (apple2_sim_t *sim) int c; /* If we're in the midst of typing a string, emit a character with random timing. */ - c =*sim->typing++; + c =*sim->typing; if (c==0) { sim->typing=NULL; } else { + sim->typing++; a2_printc(sim->st, c); if (c=='\r' || c=='\n') { sim->next_actiontime = sim->curtime;