aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/Pixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/src/Pixmap.c')
-rw-r--r--libXaw/src/Pixmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libXaw/src/Pixmap.c b/libXaw/src/Pixmap.c
index 6e3388c11..718d25dae 100644
--- a/libXaw/src/Pixmap.c
+++ b/libXaw/src/Pixmap.c
@@ -748,7 +748,11 @@ BitmapLoader(XawParams *params, Screen *screen, Colormap colormap, int depth,
if (params->name[0] != '/' && params->name[0] != '.')
{
if (!sub[0].substitution)
+ #ifdef _MSC_VER
+ sub[0].substitution = ".";
+ #else
sub[0].substitution = getenv("HOME");
+ #endif
sub[1].substitution = params->name;
if (pixmap_path == NULL)
GetResourcePixmapPath(DisplayOfScreen(screen));