~ubuntu-branches/ubuntu/quantal/bsdgames/quantal

« back to all changes in this revision

Viewing changes to cribbage/crib.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-10-02 13:39:53 UTC
  • Revision ID: james.westby@ubuntu.com-20091002133953-1dawwqnyma4btpxr
Tags: 2.17-16ubuntu2
* The "quilt is broken" upload, Remaining Changes:
* Add patches directly inline as quilt is broken :(
* debian/control:
  + Remove build-depend on quilt.
* Remove README.source file
* [gomuku/{bdisp,main},gomuku.h; cribbage/{crib,io}.c,cribbage.h;
   boggle/boggle/{bog,mach}.c,extern.h]:
  + Change getline to get_line to fix ftbfs with gcc 4.4 LP:#439396

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
                        if (!rflag) {                   /* player cuts deck */
222
222
                                msg(quiet ? "Cut for crib? " :
223
223
                            "Cut to see whose crib it is -- low card wins? ");
224
 
                                getline();
 
224
                                get_line();
225
225
                        }
226
226
                        i = (rand() >> 4) % CARDS;      /* random cut */
227
227
                        do {    /* comp cuts deck */
397
397
                if (!rflag) {   /* random cut */
398
398
                        msg(quiet ? "Cut the deck? " :
399
399
                    "How many cards down do you wish to cut the deck? ");
400
 
                        getline();
 
400
                        get_line();
401
401
                }
402
402
                i = (rand() >> 4) % (CARDS - pos);
403
403
                turnover = deck[i + pos];