Changeset a844239


Ignore:
Timestamp:
May 18, 2011, 3:48:45 PM (10 years ago)
Author:
GitHub Merge Button <merge-button@github.com>
Parents:
64c829a (diff), 7865479 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 7865479440dd042766ecbbc1119b45e5eb7cd6a6 into 64c829aed5e966415464e38f393083d736e281e8
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r7b4f3be r7865479  
    25212521
    25222522  filtname = g_strdup_printf("conversation-%s", ccs);
    2523   owl_text_tr(filtname, ' ', '-');
     2523  g_strdelimit(filtname, " ", '-');
    25242524
    25252525  if (owl_global_get_filter(&g, filtname)) {
  • logging.c

    rfe3b017 r7865479  
    151151  } else if (owl_message_is_type_jabber(m)) {
    152152    to = g_strdup_printf("jabber:%s", owl_message_get_recipient(m));
    153     owl_text_tr(to, '/', '_');
     153    g_strdelimit(to, "/", '_');
    154154  } else if (owl_message_is_type_aim(m)) {
    155155    char *temp2;
  • text.c

    r42ee1be r7865479  
    275275  g_strfreev(split);
    276276  return out;
    277 }
    278 
    279 /* replace all instances of character a in buff with the character
    280  * b.  buff must be null terminated.
    281  */
    282 void owl_text_tr(char *buff, char a, char b)
    283 {
    284   int i;
    285 
    286   owl_function_debugmsg("In: %s", buff);
    287   for (i=0; buff[i]!='\0'; i++) {
    288     if (buff[i]==a) buff[i]=b;
    289   }
    290   owl_function_debugmsg("Out: %s", buff);
    291277}
    292278
Note: See TracChangeset for help on using the changeset viewer.