Add an additional "title" attribute for UAT fields; that's what's
[obnox/wireshark/wip.git] / epan / uat.c
index bcb3558db3d873cab28b3fa234dfa7d1623d9b81..5f2016cbf18ca3092a9787652c3638ffd4faf60f 100644 (file)
@@ -100,7 +100,7 @@ uat_t* uat_new(const char* name,
        uat->help = help;
        uat->category = category;
 
-       for (i=0;flds_array[i].name;i++) {
+       for (i=0;flds_array[i].title;i++) {
                fld_data_t* f = g_malloc(sizeof(fld_data_t));
 
                f->colnum = i+1;