"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/callgs.cpp" between
pstoedit-3.77.tar.gz and pstoedit-3.78.tar.gz

About: pstoedit translates PostScript and PDF graphics into other vector formats.

callgs.cpp  (pstoedit-3.77):callgs.cpp  (pstoedit-3.78)
skipping to change at line 356 skipping to change at line 356
char sysdir[2000]; char sysdir[2000];
sysdir[0] = '\0'; sysdir[0] = '\0';
const UINT ret = GetWindowsDirectory(sysd ir, 2000); const UINT ret = GetWindowsDirectory(sysd ir, 2000);
if (ret) if (ret)
errstream << sysdir << '\\'; errstream << sysdir << '\\';
} }
errstream << fullinifilename << endl; errstream << fullinifilename << endl;
} }
gstocall = pathname; gstocall = pathname;
} else { } else {
if (verbose) errstream<< "nothing found in gsview32.ini file if (verbose) {
- using find_gs to lookup latest version of Ghostscript in registry " << endl; errstream<< "nothing found in gsview32.ini file -
using find_gs to lookup latest version of Ghostscript in registry " << endl;
(void)dumpgsvers(gsregbase, verbose);
}
static char buf[1000]; static char buf[1000];
if (find_gs(buf, sizeof(buf), 550 /* min ver*/ , getPstoe ditsetDLLUsage() , gsregbase, verbose)) { if (find_gs(buf, sizeof(buf), 550 /* min ver*/ , getPstoe ditsetDLLUsage() , gsregbase, verbose)) {
if (verbose) { if (verbose) {
(void)dumpgsvers(gsregbase, verbose);
if (getPstoeditsetDLLUsage()) errstream < < "Latest GS DLL is " << buf << endl; if (getPstoeditsetDLLUsage()) errstream < < "Latest GS DLL is " << buf << endl;
else errstream << "Latest GS E XE is " << buf << endl; else errstream << "Latest GS E XE is " << buf << endl;
} }
gstocall = buf; gstocall = buf;
} else { } else {
if (verbose) if (verbose)
errstream << "find_gs couldn't find GS in registry" << endl; errstream << "find_gs couldn't find GS in registry" << endl;
if (strlen(defaultgs) > 0) { if (strlen(defaultgs) > 0) {
gstocall = defaultgs; gstocall = defaultgs;
} else { } else {
 End of changes. 2 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)