diff --git a/programs/cmm/TWB/parse_tag.h b/programs/cmm/TWB/parse_tag.h index f328c62b1e..60669753d1 100644 --- a/programs/cmm/TWB/parse_tag.h +++ b/programs/cmm/TWB/parse_tag.h @@ -97,7 +97,6 @@ bool _tag::get_next_param() //find ATTR start and copy while (i>0) && (!__isWhite(params[i])) i--; strlcpy(#attr, #params + i + 1, sizeof(attr)-1); - strlwr(#attr); params[i] = '\0'; //fix case: src=./images/KolibriOS_logo2.jpg?sid=e8ece8b38b @@ -106,6 +105,7 @@ bool _tag::get_next_param() strlcpy(#val, i+1, sizeof(val)-1); ESBYTE[i+1] = '\0'; } + strlwr(#attr); attributes.add(#attr); values.add(#val); diff --git a/programs/cmm/browser/texts.h b/programs/cmm/browser/texts.h index 0a945bc0de..bcfc1e0978 100644 --- a/programs/cmm/browser/texts.h +++ b/programs/cmm/browser/texts.h @@ -1,4 +1,4 @@ -char version[]="WebView 2.5"; +char version[]="WebView 2.5b"; #ifdef LANG_RUS char page_not_found[] = FROM "html\\page_not_found_ru.htm""\0"; diff --git a/programs/cmm/quark/prepare_page.h b/programs/cmm/quark/prepare_page.h index 6746d69fd4..edea4931af 100644 --- a/programs/cmm/quark/prepare_page.h +++ b/programs/cmm/quark/prepare_page.h @@ -51,7 +51,7 @@ void PaintVisible() dword line_bg; bool swapped_selection = false; - list.column_max = lines.get(list.cur_y+1) - lines.get(list.cur_y); + list.column_max = lines.len(list.cur_y); list.CheckDoesValuesOkey(); if (selection.end_offset < selection.start_offset) { swapped_selection = selection.swap_start_end(); @@ -69,7 +69,7 @@ void PaintVisible() selection.draw(absolute_y); if (absolute_y