diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-05-29 19:15:08 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-05-29 19:15:08 +0000 |
| commit | 22e5131176ae8ca14aebb445203144fba3d1dfc9 (patch) | |
| tree | 038f531ff71e2e0a1805c3d27cfb053d54a3bbff /src/path-prefix.h | |
| parent | fix some crashes. Now I check for the existence of the d atrtibute (diff) | |
| download | inkscape-22e5131176ae8ca14aebb445203144fba3d1dfc9.tar.gz inkscape-22e5131176ae8ca14aebb445203144fba3d1dfc9.zip | |
Create a new macro in path-prefix.h, WIN32_DATADIR, that works similarly to BR_DATADIR. This should solve the "current directory" problems. This is a temporary fix.
(bzr r5762)
Diffstat (limited to 'src/path-prefix.h')
| -rw-r--r-- | src/path-prefix.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h index 72c21ca55..447ddcf85 100644 --- a/src/path-prefix.h +++ b/src/path-prefix.h @@ -43,26 +43,26 @@ extern "C" { # define CREATE_PATTERNSDIR BR_DATADIR( "/create/patterns/vector" ) #else # ifdef WIN32 -# define INKSCAPE_APPICONDIR "pixmaps" -# define INKSCAPE_BINDDIR "share\\bind" -# define INKSCAPE_EXAMPLESDIR "share\\examples" -# define INKSCAPE_EXTENSIONDIR "share\\extensions" -# define INKSCAPE_FILTERDIR "share\\filters" -# define INKSCAPE_GRADIENTSDIR "share\\gradients" -# define INKSCAPE_KEYSDIR "share\\keys" -# define INKSCAPE_PIXMAPDIR "share\\icons" -# define INKSCAPE_MARKERSDIR "share\\markers" -# define INKSCAPE_PALETTESDIR "share\\palettes" -# define INKSCAPE_PATTERNSDIR "share\\patterns" -# define INKSCAPE_SCREENSDIR "share\\screens" -# define INKSCAPE_TUTORIALSDIR "share\\tutorials" -# define INKSCAPE_PLUGINDIR "plugins" -# define INKSCAPE_TEMPLATESDIR "share\\templates" -# define INKSCAPE_UIDIR INKSCAPE_DATADIR "\\share\\ui" +# define INKSCAPE_APPICONDIR WIN32_DATADIR("pixmaps") +# define INKSCAPE_BINDDIR WIN32_DATADIR("share\\bind") +# define INKSCAPE_EXAMPLESDIR WIN32_DATADIR("share\\examples") +# define INKSCAPE_EXTENSIONDIR WIN32_DATADIR("share\\extensions") +# define INKSCAPE_FILTERDIR WIN32_DATADIR("share\\filters") +# define INKSCAPE_GRADIENTSDIR WIN32_DATADIR("share\\gradients") +# define INKSCAPE_KEYSDIR WIN32_DATADIR("share\\keys") +# define INKSCAPE_PIXMAPDIR WIN32_DATADIR("share\\icons") +# define INKSCAPE_MARKERSDIR WIN32_DATADIR("share\\markers") +# define INKSCAPE_PALETTESDIR WIN32_DATADIR("share\\palettes") +# define INKSCAPE_PATTERNSDIR WIN32_DATADIR("share\\patterns") +# define INKSCAPE_SCREENSDIR WIN32_DATADIR("share\\screens") +# define INKSCAPE_TUTORIALSDIR WIN32_DATADIR("share\\tutorials") +# define INKSCAPE_PLUGINDIR WIN32_DATADIR("plugins") +# define INKSCAPE_TEMPLATESDIR WIN32_DATADIR("share\\templates") +# define INKSCAPE_UIDIR WIN32_DATADIR("share\\ui") //CREATE V0.1 WIN32 support -# define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "create\\gradients\\gimp" -# define CREATE_PALETTESDIR INKSCAPE_DATADIR "create\\swatches" -# define CREATE_PATTERNSDIR INKSCAPE_DATADIR "create\\patterns\\vector" +# define CREATE_GRADIENTSDIR WIN32_DATADIR("create\\gradients\\gimp") +# define CREATE_PALETTESDIR WIN32_DATADIR("create\\swatches") +# define CREATE_PATTERNSDIR WIN32_DATADIR("create\\patterns\\vector") # elif defined ENABLE_OSX_APP_LOCATIONS # define INKSCAPE_APPICONDIR "Contents/Resources/pixmaps" # define INKSCAPE_BINDDIR "Contents/Resources/bind" |
