]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/dots.c
ncurses 5.7 - patch 20100501
[ncurses.git] / test / dots.c
index 57e334134ca3f009188fadc4deb913905c61af21..1fdcff95e101de85835ad7b067c054af2bba5cf2 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1999-2008,2009 Free Software Foundation, Inc.              *
+ * Copyright (c) 1999-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            *
@@ -29,7 +29,7 @@
 /*
  * Author: Thomas E. Dickey <dickey@clark.net> 1999
  *
- * $Id: dots.c,v 1.19 2009/10/10 16:22:24 tom Exp $
+ * $Id: dots.c,v 1.20 2010/05/01 22:04:08 tom Exp $
  *
  * A simple demo of the terminfo interface.
  */
@@ -58,7 +58,7 @@ outc(TPUTS_ARG c)
     } else {
        rc = putc(c, stdout);
     }
-    return 0;
+    return rc;
 }
 
 static bool