From 02d7e4276c06cd69eae72411a2f29f1207a5c671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Thu, 15 Mar 2007 07:30:19 +0000 Subject: [PATCH] Absolute paths on Windows do not begin with a slash. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15725 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/dialog-print-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome/dialog-print-check.c b/src/gnome/dialog-print-check.c index 893f3b2e38..b00e609f4a 100644 --- a/src/gnome/dialog-print-check.c +++ b/src/gnome/dialog-print-check.c @@ -1222,7 +1222,7 @@ read_image (const gchar *filename) GtkWidget *image; gchar *pkgdatadir, *dirname, *tmp_name; - if (filename[0] == '/') + if (g_path_is_absolute(filename)) return gtk_image_new_from_file(filename); pkgdatadir = gnc_path_get_pkgdatadir();