~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to src/multimenu.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Wise
  • Date: 2008-12-04 01:13:26 UTC
  • mfrom: (1.1.7 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20081204011326-be9aos1swwhq2agu
Tags: 2.1.0~1.rc2-1
* New upstream release candidate
* Remove Linas Žvirblis from uploaders since he hasn't been
  heard from for a very long time.
* Improve the cross-build support slightly

Show diffs side-by-side

added added

removed removed

Lines of Context:
752
752
 
753
753
        if(isHumanPlayer(player) || (game.type == SKIRMISH && player<game.maxPlayers) )
754
754
        {
755
 
                sprintf(str,"%d:", player);
756
 
 
757
 
                strcat(str, getPlayerName(player));
 
755
                ssprintf(str, "%d:%s", player, getPlayerName(player));
758
756
                while(iV_GetTextWidth(str) >= (MULTIMENU_C0-MULTIMENU_C2-10) )
759
757
                {
760
758
                        str[strlen(str)-1]='\0';