diff options
Diffstat (limited to 'plugins/Svc_dbepp/exportimport.cpp')
-rw-r--r-- | plugins/Svc_dbepp/exportimport.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Svc_dbepp/exportimport.cpp b/plugins/Svc_dbepp/exportimport.cpp index 83b15e7e0a..2ac8d04e6e 100644 --- a/plugins/Svc_dbepp/exportimport.cpp +++ b/plugins/Svc_dbepp/exportimport.cpp @@ -390,7 +390,7 @@ HANDLE Clist_GroupExists(WCHAR *tszGroup) do {
_itoa(i, str, 10);
result = DBGetContactSettingTString(0, "CListGroups", str, &dbv);
- if(!result) {
+ if (!result) {
match = (!lstrcmpW(tszGroup, (LPCWSTR)&dbv.ptszVal[1]) && (lstrlenW(tszGroup) == lstrlenW((LPCWSTR)&dbv.ptszVal[1])));
DBFreeVariant(&dbv);
if(match)
@@ -543,9 +543,9 @@ void importSettings(HANDLE hContact, char *importstring ) case 'g':
case 'G':
{ char *pstr;
- for(pstr=end+2;*pstr;pstr++){
- if(*pstr=='\\'){
- switch(pstr[1]){
+ for(pstr=end+2;*pstr;pstr++) {
+ if (*pstr=='\\') {
+ switch(pstr[1]) {
case 'n': *pstr='\n'; break;
case 't': *pstr='\t'; break;
case 'r': *pstr='\r'; break;
|