Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7970 → Rev 7972

/programs/cmm/browser/cache.h
4,12 → 4,12
dword current_page_buf;
dword current_page_size;
collection url;
collection data; //it has to be int
collection size; //it has to be int
collection_int data;
collection_int size;
void add();
bool has();
void clear();
} pages_cache;
} pages_cache=0;
 
void PAGES_CACHE::add(dword _url, _data, _size)
{
16,10 → 16,10
dword data_pointer;
data_pointer = malloc(_size);
memmov(data_pointer, _data, _size);
data.add(itoa(data_pointer));
data.add(data_pointer);
 
url.add(_url);
size.add(itoa(_size));
size.add(_size);
}
 
bool PAGES_CACHE::has(dword _link)
27,8 → 27,8
int pos;
pos = url.get_pos_by_name(_link);
if (pos != -1) {
current_page_buf = atoi(data.get(pos));
current_page_size = atoi(size.get(pos));
current_page_buf = data.get(pos);
current_page_size = size.get(pos);
return true;
}
return false;
/programs/cmm/browser/tabs.h
7,8 → 7,8
 
#define TABS_MAX 5
 
TWebBrowser data[TABS_MAX+1];
_history tabstory[TABS_MAX+1];
TWebBrowser data[TABS_MAX+1]=0;
_history tabstory[TABS_MAX+1]=0;
 
struct TAB
{
/programs/cmm/browser/texts.h
1,4 → 1,4
char version[]="WebView 2.6";
char version[]="WebView 2.61";
 
#ifdef LANG_RUS
char page_not_found[] = FROM "html\\page_not_found_ru.htm""\0";