r15725 - gnucash/trunk/src/gnome - Absolute paths on Windows do not begin with a slash.
Andreas Köhler
andi5 at cvs.gnucash.org
Thu Mar 15 03:30:21 EDT 2007
Author: andi5
Date: 2007-03-15 03:30:19 -0400 (Thu, 15 Mar 2007)
New Revision: 15725
Trac: http://svn.gnucash.org/trac/changeset/15725
Modified:
gnucash/trunk/src/gnome/dialog-print-check.c
Log:
Absolute paths on Windows do not begin with a slash.
Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c 2007-03-15 05:20:58 UTC (rev 15724)
+++ gnucash/trunk/src/gnome/dialog-print-check.c 2007-03-15 07:30:19 UTC (rev 15725)
@@ -1222,7 +1222,7 @@
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();
More information about the gnucash-changes
mailing list