~ubuntu-branches/ubuntu/trusty/lifelines/trusty

« back to all changes in this revision

Viewing changes to src/liflines/delete.c

  • Committer: Bazaar Package Importer
  • Author(s): Felipe Augusto van de Wiel (faw)
  • Date: 2007-08-14 00:02:04 UTC
  • mfrom: (1.1.4 upstream) (3.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20070814000204-mpv5faygl0dgq3qi
Tags: 3.0.61-1
* New upstream release. (Closes: #387856).
* Fixing documentation build problems also fixes FTBFS if built twice in a
  row. (Closes: #424543).
* Adding lynx as a build dependency. This is necessary to generate txt files
  from html, discovered while fixing #424543.
* Upstream fix: charset for gedcom file in unicode. (Closes: #396206).
* Upstream fim: updating documentation about desc-tex2. (Closes: #405501).
* Bumping Standards-Version to 3.7.2 without package changes.
* Dropping local debian patches added upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
choose_and_remove_indi (NODE indi, CONFIRMQ confirmq)
125
125
{
126
126
        /* prompt if needed */
127
 
        if (!indi && !(indi = nztop(ask_for_indi(_(qSidpdel), NOCONFIRM, DOASK1))))
 
127
        if (!indi && !(indi = nztop(ask_for_indi(_(qSidpdel), DOASK1))))
128
128
                return;
129
129
        /* confirm if caller desired */
130
130
        if (confirmq==DOCONFIRM && !ask_yes_or_no(_(qScfpdel))) return;
142
142
choose_and_remove_any_record (RECORD record, CONFIRMQ confirmq)
143
143
{
144
144
        /* prompt if needed */
145
 
        if (!record && !(record = ask_for_any(_(qSidodel), NOCONFIRM, DOASK1)))
 
145
        if (!record && !(record = ask_for_any(_(qSidodel), DOASK1)))
146
146
                return FALSE;
147
147
        /* confirm if caller desired */
148
148
        if (confirmq==DOCONFIRM && !ask_yes_or_no(_(qScfodel)))
168
168
        }
169
169
 
170
170
/* Identify spouse to remove */
171
 
        if (!irec) irec = ask_for_indi(_(qSidsrmv), NOCONFIRM, NOASK1);
 
171
        if (!irec) irec = ask_for_indi(_(qSidsrmv), NOASK1);
172
172
        if (!irec) return FALSE;
173
173
        if (!FAMS(nztop(irec))) {
174
174
                message(_(qSntprnt));
210
210
        }
211
211
                
212
212
/* Identify child and check for FAMC nodes */
213
 
        if (!irec) irec = ask_for_indi(_(qSidcrmv), NOCONFIRM, NOASK1);
 
213
        if (!irec) irec = ask_for_indi(_(qSidcrmv), NOASK1);
214
214
        if (!irec) return FALSE;
215
215
        if (!FAMC(nztop(irec))) {
216
216
                message(_(qSntchld));