[Tomoe-cvs 1950] CVS update: tomoe/lib

Back to archive index

Kouhei Sutou kous****@users*****
2006年 12月 18日 (月) 15:41:11 JST


Index: tomoe/lib/tomoe-config.c
diff -u tomoe/lib/tomoe-config.c:1.54 tomoe/lib/tomoe-config.c:1.55
--- tomoe/lib/tomoe-config.c:1.54	Tue Dec 12 19:08:11 2006
+++ tomoe/lib/tomoe-config.c	Mon Dec 18 15:41:11 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-config.c,v 1.54 2006/12/12 10:08:11 kous Exp $
+ *  $Id: tomoe-config.c,v 1.55 2006/12/18 06:41:11 kous Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -428,6 +428,9 @@
     }
 
     gdir = g_dir_open (DICT_DATADIR, 0, NULL);
+    if (!gdir)
+        return;
+
     while ((filename = g_dir_read_name (gdir))) {
         gchar *path;
 


tomoe-cvs メーリングリストの案内
Back to archive index