mirror of
https://github.com/david-schmidt/gsport.git
synced 2025-02-08 01:31:10 +00:00
Allow unix to write a .ps to the current directory (not to the root of the filesystem)!
This commit is contained in:
parent
36fdba6b47
commit
d6f2cc60f8
@ -23,8 +23,8 @@
|
||||
#include <math.h>
|
||||
#include "support.h"
|
||||
//#include "png.h"
|
||||
//#pragma comment( lib, “libpng.lib” )
|
||||
//#pragma comment (lib, “zdll.lib” )
|
||||
//#pragma comment( lib, "libpng.lib" )
|
||||
//#pragma comment (lib, "zdll.lib" )
|
||||
|
||||
static CPrinter* defaultPrinter = NULL;
|
||||
|
||||
@ -1583,7 +1583,7 @@ static void findNextName(char* front, char* ext, char* fname)
|
||||
#ifdef WIN32
|
||||
const char* const pathstring = ".\\%s%d%s";
|
||||
#else
|
||||
const char* const pathstring = "/%s%d%s";
|
||||
const char* const pathstring = "./%s%d%s";
|
||||
#endif
|
||||
sprintf(fname+strlen(fname), pathstring, front,i++,ext);
|
||||
test = fopen(fname, "rb");
|
||||
|
Loading…
x
Reference in New Issue
Block a user