diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-11-08 21:59:39 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-11-08 21:59:39 +0000 |
commit | c17c9fff8796965b84af7c55efc1c5b6ce7674a7 (patch) | |
tree | 8e40e636f10aa1079c5dca2731f3231151c3fb32 /gtk/afp_stat.c | |
parent | 1c01cbfa6006479649f59945cb61202e4fc49939 (diff) |
Use value_string_ext fcns to access certain value_string arrays;
Sort a few value_string arrays to be in ascending order by value;
Do minor reformatting and whitespace cleanup.
svn path=/trunk/; revision=34813
Diffstat (limited to 'gtk/afp_stat.c')
-rw-r--r-- | gtk/afp_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/afp_stat.c b/gtk/afp_stat.c index b5ee545927..db828d3f26 100644 --- a/gtk/afp_stat.c +++ b/gtk/afp_stat.c @@ -168,7 +168,7 @@ gtk_afpstat_init(const char *optarg, void *userdata _U_) init_srt_table(&ss->afp_srt_table, 256, vbox, "afp.command"); for(i=0;i<256;i++){ - init_srt_table_row(&ss->afp_srt_table, i, val_to_str(i, CommandCode_vals, "Unknown(%u)")); + init_srt_table_row(&ss->afp_srt_table, i, val_to_str_ext(i, &CommandCode_vals_ext, "Unknown(%u)")); } |