Rev 17633 | Rev 17916 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17633 | Rev 17755 | ||
---|---|---|---|
Line 137... | Line 137... | ||
137 | if(argc>1) snprintf(imagefilename,sizeof(imagefilename),"%s",argv[1]); |
137 | if(argc>1) snprintf(imagefilename,sizeof(imagefilename),"%s",argv[1]); |
138 | else imagefilename[0]=0; |
138 | else imagefilename[0]=0; |
139 | fly_process(); |
139 | fly_process(); |
140 | if(!saved || imagefilename[0]!=0) output(); |
140 | if(!saved || imagefilename[0]!=0) output(); |
141 | if(tikz_file){ |
141 | if(tikz_file){ |
142 | fprintf(tikz_file,"\\end{tikzpicture |
142 | fprintf(tikz_file,"\\end{tikzpicture}\n"); |
143 | fclose(tikz_file); |
143 | fclose(tikz_file); |
144 | } |
144 | } |
145 | if(image) gdImageDestroy(image); |
145 | if(image) gdImageDestroy(image); |
146 | if(vimg_ready) vimg_close(); |
146 | if(vimg_ready) vimg_close(); |
147 | return 0; |
147 | return 0; |