~ubuntu-branches/debian/sid/ncurses/sid-200908151543

« back to all changes in this revision

Viewing changes to form/frm_req_name.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-12-14 21:06:00 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081214210600-2rdjwvpplgvh3zeb
Tags: 5.7+20081213-1
MergingĀ upstreamĀ versionĀ 5.7+20081213.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 1998-2005,2008 Free Software Foundation, Inc.              *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
37
37
 
38
38
#include "form.priv.h"
39
39
 
40
 
MODULE_ID("$Id: frm_req_name.c,v 1.15 2005/04/16 16:59:27 tom Exp $")
 
40
MODULE_ID("$Id: frm_req_name.c,v 1.16 2008/07/05 23:22:08 tom Exp $")
41
41
 
42
42
static const char *request_names[MAX_FORM_COMMAND - MIN_FORM_COMMAND + 1] =
43
43
{
154
154
      strncpy(buf, str, sizeof(buf));
155
155
      while ((i < sizeof(buf)) && (buf[i] != '\0'))
156
156
        {
157
 
          buf[i] = toupper(buf[i]);
 
157
          buf[i] = toupper(UChar(buf[i]));
158
158
          i++;
159
159
        }
160
160