- web: right-align bbcode images

- API: warning fix

svn path=/trunk/boinc/; revision=22160
This commit is contained in:
David Anderson 2010-08-07 03:33:25 +00:00
parent b981e96a11
commit ede7c8cea9
3 changed files with 12 additions and 4 deletions

View File

@ -1083,7 +1083,6 @@ static void worker_signal_handler(int) {
// Called from the worker thread; create the timer thread
//
int start_timer_thread() {
int retval=0;
char buf[256];
#ifdef _WIN32
@ -1119,7 +1118,7 @@ int start_timer_thread() {
pthread_attr_t thread_attrs;
pthread_attr_init(&thread_attrs);
pthread_attr_setstacksize(&thread_attrs, 16384);
retval = pthread_create(&timer_thread_handle, &thread_attrs, timer_thread, NULL);
int retval = pthread_create(&timer_thread_handle, &thread_attrs, timer_thread, NULL);
if (retval) {
fprintf(stderr,
"%s start_timer_thread(): pthread_create(): %d",

View File

@ -5824,3 +5824,12 @@ Charlie 5 Aug 2010
BOINCClientManager.h
BOINCTaskBar.cpp
MainDocument.cpp
David 6 Aug 2010
- web: right-align bbcode images
- API: warning fix
html/inc/
text_transform.inc
api/
boinc_api.cpp

View File

@ -156,7 +156,7 @@ function bb2html($text, $export=false) {
"<blockquote>\\1</blockquote>",
"<ul>\\1</ul><p>",
"<ol>\\1</ol><p>",
"<img src=\"http://\\2\">",
"<img align=bottom src=\"http://\\2\">",
"<font color=\"\\1\">\\2</font>",
"\\1<li>\\2\n\\3",
"<span style=\"font-size: \\1px;\">\\2</span>",
@ -183,7 +183,7 @@ function bb2html($text, $export=false) {
"<blockquote class='postbody'>\\1</blockquote>",
"<ul>\\1</ul><p>",
"<ol>\\1</ol><p>",
"<img src=\"http://\\2\">",
"<img hspace=8 align=right src=\"http://\\2\">",
"<font color=\"\\1\">\\2</font>",
"\\1<li>\\2\n\\3",
"<span style=\"font-size: \\1px;\">\\2</span>",