~ubuntu-branches/ubuntu/trusty/nano/trusty

« back to all changes in this revision

Viewing changes to src/prompt.c

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach
  • Date: 2010-01-20 00:18:38 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120001838-ems2ygzxhnl60qan
Tags: 2.2.2-1
* The "Cabanyal" release.
* New upstream release.
* Switch to dpkg source 3.0 (quilt). Remove quilt patching support and
  README.source from the packaging, and drop quilt from Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: prompt.c 4453 2009-12-02 03:36:22Z astyanax $ */
 
1
/* $Id: prompt.c 4475 2010-01-17 05:30:22Z astyanax $ */
2
2
/**************************************************************************
3
3
 *   prompt.c                                                             *
4
4
 *                                                                        *
229
229
                f = sctofunc((sc *) s);
230
230
                if (s->scfunc != 0 &&  s->execute == TRUE) {
231
231
                        *ran_func = TRUE;
232
 
                    if (!ISSET(VIEW_MODE) || f->viewok)
 
232
                    if (f && (!ISSET(VIEW_MODE) || (f->viewok)))
233
233
                        iso_me_harder_funcmap(f->scfunc);
234
234
                }
235
235
                *finished = TRUE;