Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8483 → Rev 8484

/programs/cmm/browser/history.h
1,23 → 1,7
#ifdef LANG_RUS
#define HISTORY_HEADER "<html>
<head>
<title>ˆáâ®à¨ï</title>
</head>
<body>
<h1>ˆáâ®à¨ï</h1>
<br>
<b>®á¥é¥­­ë¥ áâà ­¨æë</b><br>
"
#define HISTORY_HEADER "<html><title>ˆáâ®à¨ï</title><body><b>®á¥é¥­­ë¥ áâà ­¨æë</b><br>"
#else
#define HISTORY_HEADER "<html>
<head>
<title>History</title>
</head>
<body>
<h1>History</h1>
<br>
<b>Visited pages</b><br>
"
#define HISTORY_HEADER "<html><title>History</title><body><b>Visited pages</b><br>"
#endif
 
 
24,15 → 8,12
ShowHistory()
{
int i;
static int history_pointer;
int t;
dword history_pointer = malloc(history.items.data_size+256);
strcat(history_pointer, HISTORY_HEADER);
free(history_pointer);
history_pointer = malloc(history.items.data_size+256);
strcat(history_pointer, HISTORY_HEADER);
for (i=0; i<history.items.count-1; i++) //if (cache.type.get(i) == PAGE)
{
strcat(history_pointer, "\t<a href='");
strcat(history_pointer, "<a href='");
strcat(history_pointer, history.items.get(i));
strcat(history_pointer, "'>");
strcat(history_pointer, history.items.get(i));
48,6 → 29,6
strcat(history_pointer, "'><br>");
}
 
strcat(history_pointer, "</body></html>");
LoadInternalPage(history_pointer, strlen(history_pointer));
}
free(history_pointer);
}
/programs/cmm/browser/res/test.htm
13,7 → 13,6
<a href="http://baravy.by/me/b.html">http://baravy.by/me/b.html</a>
 
<a href="http://www.artcon.ru">artcon.ru</a>
<a href="https://www.zophar.net">zophar.net</a>
<a href="https://acmp.ru/index.asp?main=tasks">acmp.ru</a>
<a href="http://edition.cnn.com/EVENTS/1996/year.in.review/">cnn 1996</a>
<a href="https://vetusware.com/">vetusware.com</a>