Commit e94226c6 authored by dimitri's avatar dimitri

Release-1.5.1-20070109

parent 0ee700fc
/***************************************************************************** /*****************************************************************************
* *
* * $Id$
* *
* *
* Copyright (C) 1997-2006 by Dimitri van Heesch. * Copyright (C) 1997-2006 by Dimitri van Heesch.
...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
* *
*/ */
#ifdef _WIN32
#include <windows.h>
#define BITMAP W_BITMAP
#endif
#include <stdlib.h> #include <stdlib.h>
#include "dot.h" #include "dot.h"
...@@ -2929,7 +2934,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir, ...@@ -2929,7 +2934,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
// temporarily remove the DOTFONTPATH environment variable // temporarily remove the DOTFONTPATH environment variable
// so dot will use the built-in search path. // so dot will use the built-in search path.
#ifdef _WIN32 #ifdef _WIN32
SetEnvironmentVariable("DOTFONTPATH", 0) SetEnvironmentVariable("DOTFONTPATH", 0);
#else #else
unsetenv("DOTFONTPATH"); unsetenv("DOTFONTPATH");
#endif #endif
...@@ -2966,7 +2971,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir, ...@@ -2966,7 +2971,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
{ {
// restore the DOTFONTPATH variable again // restore the DOTFONTPATH variable again
#ifdef _WIN32 #ifdef _WIN32
SetEnvironmentVariable("DOTFONTPATH", env) SetEnvironmentVariable("DOTFONTPATH", env);
#else #else
setenv("DOTFONTPATH",env,1); setenv("DOTFONTPATH",env,1);
#endif #endif
......
...@@ -1633,6 +1633,10 @@ ...@@ -1633,6 +1633,10 @@
/> />
</FileConfiguration> </FileConfiguration>
</File> </File>
<File
RelativePath="..\src\textdocvisitor.cpp"
>
</File>
<File <File
RelativePath="..\src\translator.cpp" RelativePath="..\src\translator.cpp"
> >
...@@ -2076,6 +2080,10 @@ ...@@ -2076,6 +2080,10 @@
RelativePath="..\src\tagreader.h" RelativePath="..\src\tagreader.h"
> >
</File> </File>
<File
RelativePath="..\src\textdocvisitor.h"
>
</File>
<File <File
RelativePath="..\src\translator.h" RelativePath="..\src\translator.h"
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment