Fix some typos; Fix some indenting to be at least locally consistent

svn path=/trunk/; revision=24575
This commit is contained in:
Bill Meier 2008-03-06 15:51:44 +00:00
parent c3a10dd79c
commit 80b754bb01
1 changed files with 38 additions and 38 deletions

View File

@ -35,7 +35,7 @@
* 1) could improve the widget
* 2) keep a copy in memory after the first time.
* user can pop multiple tree dialogs by pressing the "Tree" button multiple
* time. not a good thing.
* times. not a good thing.
* Sort the protocols and children
*/
@ -801,7 +801,7 @@ dfilter_expr_dlg_accept_cb(GtkWidget *w, gpointer filter_te_arg)
range_str = g_strdup(gtk_entry_get_text(GTK_ENTRY(range_entry)));
/*
* XXX - strip this even for strings?
* Doing so for strings mean you can't match a string that has
* Doing so for strings means you can't match a string that has
* leading or trailing whitespace, but you can't see trailing
* whitespace in a text field, so it's not clear that it's
* a good idea to allow that.
@ -1143,7 +1143,7 @@ dfilter_expr_dlg_new(GtkWidget *filter_te)
* haven't even had time to set the item's row data nonwithstanding*.
*
* We'll put the widget into GTK_SELECTION_SINGLE mode in the
* hopes that it's *STOP DOING THAT*.
* hopes that it *STOPS DOING THAT*.
*/
gtk_clist_set_selection_mode(GTK_CLIST(field_tree),
GTK_SELECTION_SINGLE);
@ -1425,7 +1425,7 @@ dfilter_expr_dlg_new(GtkWidget *filter_te)
g_snprintf(str, TAG_STRING_LEN, "%s - %s", hfinfo->abbrev,
hfinfo->name);
}
str[TAG_STRING_LEN]=0;
str[TAG_STRING_LEN]='\0';
strp=str;
gtk_tree_store_append(store, &child_iter, &iter);
gtk_tree_store_set(store, &child_iter, 0, strp, 1, hfinfo, -1);