X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fbs.c;h=4d32c70672d568ea17ddc0dce46a571cadd2c79f;hp=4330f902d7c180f253d0db03bb4729391b0b353d;hb=7c4bc0fa99a1be37a14aa19a5943a549570954c4;hpb=3ce60e9f58cc00309981ed711d0b0d3362105881 diff --git a/test/bs.c b/test/bs.c index 4330f902..4d32c706 100644 --- a/test/bs.c +++ b/test/bs.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * + * Copyright (c) 1998-2007,2008 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 * @@ -34,7 +34,7 @@ * v2.0 featuring strict ANSI/POSIX conformance, November 1993. * v2.1 with ncurses mouse support, September 1995 * - * $Id: bs.c,v 1.45 2007/04/07 17:13:11 tom Exp $ + * $Id: bs.c,v 1.46 2008/07/05 20:56:25 tom Exp $ */ #include @@ -222,7 +222,7 @@ intro(void) if ((tmpname = getlogin()) != 0) { (void) strcpy(name, tmpname); - name[0] = toupper(name[0]); + name[0] = toupper(UChar(name[0])); } else (void) strcpy(name, dftname);