SF.net SVN: geany: [1528] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri May 11 17:31:07 UTC 2007
Revision: 1528
http://svn.sourceforge.net/geany/?rev=1528&view=rev
Author: ntrel
Date: 2007-05-11 10:31:06 -0700 (Fri, 11 May 2007)
Log Message:
-----------
Fix bug when directory doesn't exist in utils_get_file_list().
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-11 16:43:13 UTC (rev 1527)
+++ trunk/ChangeLog 2007-05-11 17:31:06 UTC (rev 1528)
@@ -23,6 +23,8 @@
Use Windows folder dialog in ui_path_box_open_clicked().
* src/utils.c:
Wrap notebook pages when switching tabs.
+ * src/utils.c:
+ Fix bug when directory doesn't exist in utils_get_file_list().
2007-05-10 Nick Treleaven <nick.treleaven at btinternet.com>
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2007-05-11 16:43:13 UTC (rev 1527)
+++ trunk/src/utils.c 2007-05-11 17:31:06 UTC (rev 1528)
@@ -1666,7 +1666,7 @@
g_return_val_if_fail(path != NULL, NULL);
dir = g_dir_open(path, 0, error);
- if (NZV(error))
+ if (dir == NULL)
return NULL;
while (1)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list