Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 8707:4c7bc4b0f190
[gaim-migrate @ 9460]
(16:57:20) SimGuy: LSchiere2: slight mistake fixed here: http://kevin.simguy.net/patches/imhtml-oops.diff
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 18 Apr 2004 20:59:47 +0000 |
parents | f36eee61c85f |
children | 513b8bbcc104 |
comparison
equal
deleted
inserted
replaced
8706:afa05986603a | 8707:4c7bc4b0f190 |
---|---|
127 | 127 |
128 begin = strstr(clipboard, "<!--StartFragment"); | 128 begin = strstr(clipboard, "<!--StartFragment"); |
129 while(*begin++ != '>'); | 129 while(*begin++ != '>'); |
130 end = strstr(clipboard, "<!--EndFragment"); | 130 end = strstr(clipboard, "<!--EndFragment"); |
131 html = g_strstrip(g_strndup(begin, (end ? (end - begin) : strlen(begin)))); | 131 html = g_strstrip(g_strndup(begin, (end ? (end - begin) : strlen(begin)))); |
132 return html; | |
132 } | 133 } |
133 | 134 |
134 static gchar * | 135 static gchar * |
135 clipboard_html_to_win32(char *html) { | 136 clipboard_html_to_win32(char *html) { |
136 int length; | 137 int length; |