gimp r26179 - in trunk: . app
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26179 - in trunk: . app
- Date: Sun, 13 Jul 2008 16:27:59 +0000 (UTC)
Author: aurisj
Date: Sun Jul 13 16:27:58 2008
New Revision: 26179
URL: http://svn.gnome.org/viewvc/gimp?rev=26179&view=rev
Log:
2008-07-13 Aurimas JuÅka <aurisj svn gnome org>
* app/unique.c (gimp_unique_win32_open): check for NULL pointer to
prevent crash when there are no filenames provided.
Modified:
trunk/ChangeLog
trunk/app/unique.c
Modified: trunk/app/unique.c
==============================================================================
--- trunk/app/unique.c (original)
+++ trunk/app/unique.c Sun Jul 13 16:27:58 2008
@@ -193,7 +193,7 @@
GError *error = NULL;
gint i;
- for (i = 0; filenames[i]; i++)
+ for (i = 0; filenames && filenames[i]; i++)
{
gchar *uri = gimp_unique_filename_to_uri (filenames[i], cwd, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]