X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fsavescreen.c;h=b413f0dd71fc3fb23099f8c1961fe3911770d239;hp=fe8d4e32cbb3e7ef8170c3070c53e2971042defa;hb=92e187a3459ab7ce1613a3684ca6642447c73620;hpb=11dead39816318fe9601e27756b9497caf7ff490 diff --git a/test/savescreen.c b/test/savescreen.c index fe8d4e32..b413f0dd 100644 --- a/test/savescreen.c +++ b/test/savescreen.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2007,2009 Free Software Foundation, Inc. * + * Copyright (c) 2007-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: savescreen.c,v 1.11 2009/10/10 19:38:21 tom Exp $ + * $Id: savescreen.c,v 1.12 2010/05/01 22:04:08 tom Exp $ * * Demonstrate save/restore functions from the curses library. * Thomas Dickey - 2007/7/14 @@ -267,7 +267,7 @@ main(int argc, char *argv[]) getyx(stdscr, y, x); while (!done) { - switch (ch = get_command(which, last)) { + switch (get_command(which, last)) { case 'n': setup_next(); done = TRUE;