/[xmakemol]/xmakemol/file.c
ViewVC logotype

Diff of /xmakemol/file.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.154 by MPHodges, Sun Mar 16 18:08:40 2003 UTC revision 1.155 by MPHodges, Mon Mar 17 19:55:09 2003 UTC
# Line 455  file_cb(Widget widget, XtPointer client_ Line 455  file_cb(Widget widget, XtPointer client_
455                    i = 0;                    i = 0;
456                  }                  }
457              }              }
458              fclose(printcap_file);
459          }          }
460    
461        /* Set first empty element of printer_strings to "ENDLIST" to denote end.        /* Set first empty element of printer_strings to "ENDLIST" to denote end.
462           If failure in opening printcap_file, then j == 0 */           If failure in opening printcap_file, then j == 0 */
463        strcpy(printer_strings[j], "ENDLIST");        strcpy(printer_strings[j], "ENDLIST");
464    
       fclose(printcap_file);  
   
465        /* Get default printer name if one of the environment        /* Get default printer name if one of the environment
466           variables LPDEST or PRINTER is set */           variables LPDEST or PRINTER is set */
467        printer_name = getenv("LPDEST");        printer_name = getenv("LPDEST");

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26