gimp r26124 - in trunk: . app



Author: tml
Date: Fri Jul 11 12:38:53 2008
New Revision: 26124
URL: http://svn.gnome.org/viewvc/gimp?rev=26124&view=rev

Log:
2008-07-11  Tor Lillqvist  <tml novell com>

	* app/unique.c (gimp_unique_filename_to_uri): Check GError being
	unset correctly.
	(gimp_unique_win32_open): Add missing semicolon.



Modified:
   trunk/ChangeLog
   trunk/app/unique.c

Modified: trunk/app/unique.c
==============================================================================
--- trunk/app/unique.c	(original)
+++ trunk/app/unique.c	Fri Jul 11 12:38:53 2008
@@ -69,7 +69,7 @@
     {
       uri = g_strdup (filename);
     }
-  else if (! error)
+  else if (! *error)
     {
       if (! g_path_is_absolute (filename))
 	{
@@ -220,7 +220,7 @@
 
 #endif
 
-  return FALSE
+  return FALSE;
 }
 
 #endif  /* G_OS_WIN32 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]