Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5624 → Rev 5625

/programs/cmm/TWB/links.h
113,10 → 113,10
IF (!strcmpn(in_URL,"./", 2)) in_URL+=2;
strcpy(#newurl, BrowserHistory.CurrentUrl());
 
if (ESBYTE[in_URL] == '/')
if (ESBYTE[in_URL] == '/') //remove everything after site domain name
{
i = strchr(#newurl+8, '/');
if (i>0) newurl[i+7]=0;
if (i) ESBYTE[i]=0;
in_URL+=1;
}
/programs/cmm/lib/strings.h
400,7 → 400,7
}
 
 
/*inline fastcall signed int strchr( ESI,BL)
inline fastcall signed int old_strchr( ESI,BL)
{
int jj=0;
do{
409,7 → 409,7
IF(AL==BL) return jj;
} while(AL!=0);
return 0;
}*/
}
 
inline dword strchr(dword shb;char s)
{
919,7 → 919,6
}
 
 
//#define strncpy strcpyn
#define strnmov strmovn
#define stricmp strcmpi
#define strcmpn strncmp
/programs/cmm/liza/liza.c
136,9 → 136,9
}
else
{
strcpy(#pass_b64, #read_data+strchr(#read_data, '\n')+1);
strcpy(#pass_b64, strchr(#read_data, '\n'));
base64_decode stdcall (#pass_b64, #pass_text, strlen(#pass_b64));
read_data[strchr(#read_data, '\n')-1] = NULL;
ESBYTE[strchr(#read_data, '\n')] = NULL;
strcpy(#email_text, #read_data);
}
pass_box.size = pass_box.pos = strlen(#pass_text);
/programs/cmm/liza/login.c
209,13 → 209,13
 
void GetSettings()
{
int at_pos = strchr(#email_text,'@');
strlcpy(#login, #email_text, at_pos-1);
strcpy(#login, #email_text);
ESBYTE[strchr(#login,'@')] = NULL;
 
if (checked[CUSTOM])
{
strcpy(#POP_server_path, "pop.");
strcat(#POP_server_path, #email_text+at_pos);
strcat(#POP_server_path, strchr(#email_text,'@')+1);
POP_server_port = DEFAULT_POP_PORT;
}
if (checked[MANUAL])