IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25641


Ignore:
Timestamp:
Sep 28, 2009, 5:52:13 PM (17 years ago)
Author:
eugene
Message:

allow pmVisualAskUser to have NULL plotFlag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psModules/src/extras/pmVisual.c

    r25496 r25641  
    8989{
    9090    char key[10];
    91     fprintf (stdout, "[c]ontinue? [s]kip the rest of these plots? [a]bort all visual plots?");
     91    if (plotFlag) {
     92        fprintf (stdout, "[c]ontinue? [s]kip the rest of these plots? [a]bort all visual plots? (c) ");
     93    } else {
     94        fprintf (stdout, "[c]ontinue? [a]bort all visual plots? (c) ");
     95    }
    9296    if (!fgets(key, 8, stdin)) {
    9397        psWarning("Unable to read option");
    9498    }
    95     if (key[0] == 's') {
     99    if (plotFlag && (key[0] == 's')) {
    96100        *plotFlag = false;
    97101    }
Note: See TracChangeset for help on using the changeset viewer.