~ubuntu-branches/ubuntu/utopic/ggz-client-libs/utopic

« back to all changes in this revision

Viewing changes to ggzmod-ggz/ggzmod-ggz.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2008-03-11 23:59:30 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080311235930-idenwe4pp73ozh1k
Tags: 0.0.14.1-1
* New upstream release
  - Obsoletes typos.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * Project: ggzmod
5
5
 * Date: 10/14/01
6
6
 * Desc: GGZ game module functions, GGZ side
7
 
 * $Id: ggzmod-ggz.c 8810 2007-01-04 21:11:55Z jdorje $
 
7
 * $Id: ggzmod-ggz.c 9709 2008-02-13 11:23:40Z oojah $
8
8
 *
9
9
 * This file contains the backend for the ggzmod library.  This
10
10
 * library facilitates the communication between the GGZ core client (ggz)
417
417
 
418
418
static GGZSeat _ggzmod_ggz_get_seat(GGZMod *ggzmod, int num)
419
419
{
420
 
        GGZSeat seat = {num: num,
421
 
                        type: GGZ_SEAT_NONE,
422
 
                        name: NULL};
 
420
        GGZSeat seat = {
 
421
                .num = num,
 
422
                .type = GGZ_SEAT_NONE,
 
423
                .name = NULL
 
424
        };
423
425
 
424
426
        if (num >= 0 && num < ggzmod->num_seats) {
425
427
                GGZListEntry *entry;
479
481
 
480
482
static GGZSpectatorSeat _ggzmod_ggz_get_spectator_seat(GGZMod * ggzmod, int num)
481
483
{
482
 
        GGZSpectatorSeat seat = {num: num, name: NULL};
 
484
        GGZSpectatorSeat seat = {
 
485
                .num = num,
 
486
                .name = NULL
 
487
        };
483
488
 
484
489
        if (num >= 0 && num < ggzmod->num_spectator_seats) {
485
490
                GGZListEntry *entry;