~ubuntu-branches/debian/squeeze/warzone2100/squeeze

« back to all changes in this revision

Viewing changes to src/multimenu.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Wise
  • Date: 2010-08-05 21:08:56 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100805210856-qolydu7ht9w8u3rd
Tags: 2.3.3-1
* New upstream bugfix release
  - Fixes issues in 2.3.2 (Closes: #591215)
  - Upstream community renamed, update copyright information 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
        This file is part of Warzone 2100.
3
3
        Copyright (C) 1999-2004  Eidos Interactive
4
 
        Copyright (C) 2005-2009  Warzone Resurrection Project
 
4
        Copyright (C) 2005-2010  Warzone 2100 Project
5
5
 
6
6
        Warzone 2100 is free software; you can redistribute it and/or modify
7
7
        it under the terms of the GNU General Public License as published by
569
569
                                sstrcpy(tips[tip_index], mapName);
570
570
                                free(mapName);
571
571
 
572
 
                                // Chop off the "Sk-" if necessary
573
 
                                if (strncmp(tips[tip_index], "Sk-", 3) == 0)
574
 
                                {
575
 
                                        memmove(tips[tip_index], tips[tip_index]+3, strlen(tips[tip_index]+3)+1);
576
 
                                }
577
 
                                if (strncmp(tips[tip_index]+strlen(tips[tip_index])-3, "-T1", 3)==0)
578
 
                                {
579
 
                                        tips[tip_index][strlen(tips[tip_index])-3] = 0;
580
 
                                }
581
 
 
582
572
                                sButInit.pTip = tips[tip_index];
583
573
                                sButInit.pText = tips[tip_index];
584
574
                                sButInit.UserData       = players;