diff options
author | Jacob Berkman <jberkman@src.gnome.org> | 1999-08-24 03:09:46 +0000 |
---|---|---|
committer | Jacob Berkman <jberkman@src.gnome.org> | 1999-08-24 03:09:46 +0000 |
commit | 81f765d531b1438ba2b9b04c28fe28317969f4b1 (patch) | |
tree | c74f81b2a5e026e836320e4c373237d83feb034b | |
parent | 515c615e901c6ef68e09876dc16791c83d2f3f9b (diff) |
C1999-08-23 Jacob Berkman <jberkman@andrew.cmu.edu>
C1999-08-23 Jacob Berkman <jberkman@andrew.cmu.edu>
* gnote.c (gnote_load_xml_v10): C++ comments -> C commentsVS: ----------------------------------------------------------------------
-rw-r--r-- | gnotes/ChangeLog | 4 | ||||
-rw-r--r-- | gnotes/gnote.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gnotes/ChangeLog b/gnotes/ChangeLog index e2d27be6e..8cb66b19b 100644 --- a/gnotes/ChangeLog +++ b/gnotes/ChangeLog @@ -1,3 +1,7 @@ +1999-08-23 Jacob Berkman <jberkman@andrew.cmu.edu> + + * gnote.c (gnote_load_xml_v10): C++ comments -> C comments + 1999-08-01 Jacob Berkman <jberkman@andrew.cmu.edu> * Makefile.am (gnotes_applet_LDFLAGS): don't explicitly diff --git a/gnotes/gnote.c b/gnotes/gnote.c index 6b0c46f83..4c7973cb4 100644 --- a/gnotes/gnote.c +++ b/gnotes/gnote.c @@ -899,7 +899,7 @@ static gboolean gnote_load_xml_v10(xmlDocPtr doc, const gchar *filename) { if(intmp_node->name == 0) { - // ok. + /* ok. */ } else if(strcmp(intmp_node->name, gnotes_x_node_name) == 0) { @@ -970,7 +970,7 @@ static gboolean gnote_load_xml_v10(xmlDocPtr doc, const gchar *filename) { if(intmp_node->name == 0) { - // ignore this. It's OK (I think) + /* ignore this. It's OK (I think) */ } else if(strcmp(intmp_node->name, gnotes_hidden_node_name) == 0) { @@ -1012,7 +1012,7 @@ static gboolean gnote_load_xml_v10(xmlDocPtr doc, const gchar *filename) { if(intmp_node->name == 0) { - // this is an ok situation. Empty data is normal + /* this is an ok situation. Empty data is normal */ } else if(strcmp(intmp_node->name, gnotes_data_type_node_name) == 0) @@ -1097,7 +1097,7 @@ static gboolean gnote_load_old(const char *filename) } letter = fgetc(fptr); } - // FIXME: is this correct? + /* FIXME: is this correct? */ format[index + 1] = '\0'; /* if we have a proper GNOTE file, continue */ @@ -1132,7 +1132,7 @@ static gboolean gnote_load_old(const char *filename) } letter = fgetc(fptr); } - // FIXME: is this correct? + /* FIXME: is this correct? */ title[index + 1] = '\0'; current_size = 16; |