comparison src/util.c @ 10372:618a330c0260

[gaim-migrate @ 11595] (17:31:55) SimGuy: LSchiere2: because the person that redid it didn't think to move the CPWs since they only have one field (17:32:05) SimGuy: the others are all multiple pieces of data (17:32:07) LSchiere2: its confusing and inconsistent now (17:48:00) SimGuy: LSchiere2: http://kevin.simguy.net:8888/patches/gaim-cpw-structify.diff (17:48:03) SimGuy: that should apply to both (17:48:16) SimGuy: the patch to util.c just fixes a spelling error in a comment I fixed like 6 weeks ago (17:48:59) SimGuy: er, both being HEAD and oldstatus committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 14 Dec 2004 22:50:54 +0000
parents 8d42237564f6
children 26eac2362c32
comparison
equal deleted inserted replaced
10371:fb8e82fa32af 10372:618a330c0260
1395 char url_buf[BUF_LEN * 4]; 1395 char url_buf[BUF_LEN * 4];
1396 gunichar g; 1396 gunichar g;
1397 gboolean inside_html = FALSE; 1397 gboolean inside_html = FALSE;
1398 int inside_paren = 0; 1398 int inside_paren = 0;
1399 GString *ret = g_string_new(""); 1399 GString *ret = g_string_new("");
1400 /* Assumes you have a buffer able to cary at least BUF_LEN * 2 bytes */ 1400 /* Assumes you have a buffer able to carry at least BUF_LEN * 2 bytes */
1401 1401
1402 c = text; 1402 c = text;
1403 while (*c) { 1403 while (*c) {
1404 1404
1405 if(*c == '(' && !inside_html) { 1405 if(*c == '(' && !inside_html) {