summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Lang <gsview@ghostgum.com.au>2003-04-12 22:04:21 +0000
committerRussell Lang <gsview@ghostgum.com.au>2003-04-12 22:04:21 +0000
commita6c40766cbcb335740b7d10152a6afd22eaaa0f5 (patch)
tree36ae34fd436dacc8b10fb435d0bf79f0503646ca
parent0f78338e2798a147794f9043011fdaaa67db77cf (diff)
downloadghostpdl-a6c40766cbcb335740b7d10152a6afd22eaaa0f5.tar.gz
Add Resource directory to the lib path configured by the Windows installer.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3823 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/src/dwsetup.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/gs/src/dwsetup.cpp b/gs/src/dwsetup.cpp
index 5bdfc12e2..fd0a6c160 100644
--- a/gs/src/dwsetup.cpp
+++ b/gs/src/dwsetup.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, Ghostgum Software Pty Ltd. All rights reserved.
+/* Copyright (C) 1999-2003, Ghostgum Software Pty Ltd. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
@@ -750,7 +750,11 @@ install_prog()
strcat(szLIB, cinst.GetMainDir());
strcat(szLIB, "\\lib;");
strcat(szLIB, g_szTargetDir);
- strcat(szLIB, "\\fonts");
+ strcat(szLIB, "\\fonts;");
+ strcat(szLIB, g_szTargetDir);
+ strcat(szLIB, "\\");
+ strcat(szLIB, cinst.GetMainDir());
+ strcat(szLIB, "\\Resource");
if (!cinst.UpdateRegistryValue(regkey1, regkey2, "GS_LIB", szLIB)) {
gs_addmess("Failed to add registry value\n");
return FALSE;