Mercurial > pidgin
comparison src/util.c @ 12628:26647ddcc9c5
[gaim-migrate @ 14964]
Mark sayeth:
"It seems like it would be better if it changed it to
Check out this great program (http://gaim.sf.net/) I just found!"
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 22 Dec 2005 19:36:18 +0000 |
parents | b7860c9902f2 |
children | de306144dc8a |
comparison
equal
deleted
inserted
replaced
12627:2078f65a8e98 | 12628:26647ddcc9c5 |
---|---|
1359 /* Only insert the href if it's different from the CDATA. */ | 1359 /* Only insert the href if it's different from the CDATA. */ |
1360 if (hrlen != j - href_st || | 1360 if (hrlen != j - href_st || |
1361 strncmp(str2 + href_st, href, hrlen)) | 1361 strncmp(str2 + href_st, href, hrlen)) |
1362 { | 1362 { |
1363 str2[j++] = ' '; | 1363 str2[j++] = ' '; |
1364 str2[j++] = '<'; | 1364 str2[j++] = '('; |
1365 g_memmove(str2 + j, href, hrlen); | 1365 g_memmove(str2 + j, href, hrlen); |
1366 j += hrlen; | 1366 j += hrlen; |
1367 str2[j++] = '>'; | 1367 str2[j++] = ')'; |
1368 g_free(href); | 1368 g_free(href); |
1369 href = NULL; | 1369 href = NULL; |
1370 } | 1370 } |
1371 } | 1371 } |
1372 | 1372 |