Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for dead/diplomovka/xgrafix/src/xgcommands.c between version 1.4 and 1.5

version 1.4, 2002/07/11 23:44:38 version 1.5, 2002/09/04 23:32:11
Line 459  int C_TraceProc(ClientData cl, Tcl_Inter
Line 459  int C_TraceProc(ClientData cl, Tcl_Inter
 // Function int C_PrintProc(ClientData cl, Tcl_Interp *interp,  argc, argv) {{{  // Function int C_PrintProc(ClientData cl, Tcl_Interp *interp,  argc, argv) {{{
 int C_PrintProc(ClientData cl, Tcl_Interp *interp, int argc, char **argv)  int C_PrintProc(ClientData cl, Tcl_Interp *interp, int argc, char **argv)
 {  {
         char fileType, printMode;          char fileType;
           char *printMode;
         WindowType theWindow = theWindowArray[atoi(argv[1])];          WindowType theWindow = theWindowArray[atoi(argv[1])];
         char **xpmData;          char **xpmData;
   
         fileType = argv[4][0];          fileType = argv[4][0];
         printMode = argv[5][0];          //printMode = argv[5][0];
           printMode = argv[5];
   
         switch (fileType) {          switch (fileType) {
                 case 'x':                  case 'x':
Line 483  int C_PrintProc(ClientData cl, Tcl_Inter
Line 485  int C_PrintProc(ClientData cl, Tcl_Inter
                         break;                          break;
                 case 'p':                  case 'p':
                 case 'e':                  case 'e':
                         if (access(argv[2],F_OK) || printMode=='o' || printMode=='c')                          if (access(argv[2],F_OK) ||
                                           (strstr(printMode, "o") == printMode) ||
                                            (strstr(printMode, "c") == printMode) )
                                 PSHeader(argv[2]);                                  PSHeader(argv[2]);
                         (*(theWindow->print_function)) (theWindow,                          (*(theWindow->print_function)) (theWindow,
                                                                                         argv[2],                                                                                          argv[2],

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top