Changeset 5846 for trunk/Ohana/src/opihi/cmd.data/save.c
- Timestamp:
- Dec 27, 2005, 5:06:32 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/save.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/save.c
r4689 r5846 3 3 int save (int argc, char **argv) { 4 4 5 int N, n, ISCEL;5 int N, celestial; 6 6 int Ximage, Nimage; 7 7 … … 14 14 if (!GetImage (&Ximage, &Nimage)) return (FALSE); 15 15 16 ISCEL= FALSE;16 celestial = FALSE; 17 17 if ((N = get_argument (argc, argv, "-c"))) { 18 18 remove_argument (N, &argc, argv); 19 ISCEL= TRUE;19 celestial = TRUE; 20 20 } 21 21 … … 26 26 } 27 27 28 if (!SelectOverlay (argv[1], &n)) return (FALSE); 29 30 if (ISCEL) 31 SendGraphCommand (Ximage, 4, "CSVE"); 32 else 33 SendGraphCommand (Ximage, 4, "SAVE"); 34 35 SendGraphMessage (Ximage, "FILE: %d %s", n, argv[2]); 28 KiiSaveOverlay (Ximage, celestial, argv[1], argv[2]); 36 29 return (TRUE); 37 30 }
Note:
See TracChangeset
for help on using the changeset viewer.
