Changeset e4524da for functions.c


Ignore:
Timestamp:
Jun 25, 2011, 3:26:15 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
3cdd6d2
Parents:
ecffae6
git-author:
David Benjamin <davidben@mit.edu> (03/11/11 16:24:44)
git-committer:
David Benjamin <davidben@mit.edu> (06/25/11 03:26:15)
Message:
Make aimsearch code use GPtrArray instead of owl_list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    recffae6 re4524da  
    34233423}
    34243424
    3425 void owl_function_aimsearch_results(const char *email, owl_list *namelist)
     3425void owl_function_aimsearch_results(const char *email, GPtrArray *namelist)
    34263426{
    34273427  owl_fmtext fm;
    3428   int i, j;
     3428  int i;
    34293429
    34303430  owl_fmtext_init_null(&fm);
     
    34333433  owl_fmtext_append_normal(&fm, ":\n");
    34343434
    3435   j=owl_list_get_size(namelist);
    3436   for (i=0; i<j; i++) {
     3435  for (i = 0; i < namelist->len; i++) {
    34373436    owl_fmtext_append_normal(&fm, "  ");
    3438     owl_fmtext_append_normal(&fm, owl_list_get_element(namelist, i));
     3437    owl_fmtext_append_normal(&fm, namelist->pdata[i]);
    34393438    owl_fmtext_append_normal(&fm, "\n");
    34403439  }
Note: See TracChangeset for help on using the changeset viewer.