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

アーカイブの一覧に戻る

Hiroyuki Ikezoe ikezo****@users*****
2006年 11月 28日 (火) 09:32:15 JST


Index: tomoe/lib/tomoe-dict.c
diff -u tomoe/lib/tomoe-dict.c:1.117 tomoe/lib/tomoe-dict.c:1.118
--- tomoe/lib/tomoe-dict.c:1.117	Tue Nov 28 09:17:06 2006
+++ tomoe/lib/tomoe-dict.c	Tue Nov 28 09:32:15 2006
@@ -21,13 +21,12 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-dict.c,v 1.117 2006/11/28 00:17:06 ikezoe Exp $
+ *  $Id: tomoe-dict.c,v 1.118 2006/11/28 00:32:15 ikezoe Exp $
  */
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <math.h>
 #include <glib.h>
 #include <glib/gi18n.h>
 
@@ -812,11 +811,11 @@
     data.key          = NULL;
     data.value        = NULL;
     data.n_points     = 0;
-    data.reading_type =TOMOE_READING_INVALID;
+    data.reading_type = TOMOE_READING_INVALID;
 
     context = g_markup_parse_context_new (&parser, 0, &data, NULL);
 
-    while ((bytes = fread (buf, sizeof (char), 4096, f)) > 0) {
+    while ((bytes = fread (buf, sizeof (gchar), 4096, f)) > 0) {
         GError *error = NULL;
         gboolean success;
 


tomoe-cvs メーリングリストの案内
アーカイブの一覧に戻る