~ubuntu-branches/ubuntu/hardy/oneko/hardy

« back to all changes in this revision

Viewing changes to oneko.c

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2006-01-23 17:41:48 UTC
  • mfrom: (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060123174148-n25arlv08pjqa0v1
Tags: 1.2.sakura.6-3
* New (old) maintainer. Thanks to Steve for carrying the ball for the past
  ten years.
* debhelper v5.
* Current policy.
* Stop using Imake, move stuff out of /usr/X11R6.
  Closes: #221267
* Dehardcode paths in menu file.
* Improve copyright file; the (Japanese) README apparently says that
  it's public domain, which is better than some LSM file on sunsite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1421
1421
    if (strcmp(argv[ArgCounter], "-display") == 0) {
1422
1422
      ArgCounter++;
1423
1423
      if (ArgCounter < argc) {
1424
 
        strcpy(theDisplayName, argv[ArgCounter]);
 
1424
        strncpy(theDisplayName, argv[ArgCounter], sizeof(theDisplayName)-1);
1425
1425
      } else {
1426
1426
        fprintf(stderr, "%s: -display option error.\n", ProgramName);
1427
1427
        exit(1);