diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stduihist/src/history.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/stduihist/src/history.cpp b/src/core/stduihist/src/history.cpp index 3242ca2101..ce5df4032a 100644 --- a/src/core/stduihist/src/history.cpp +++ b/src/core/stduihist/src/history.cpp @@ -45,19 +45,6 @@ static void GetMessageDescription(DBEVENTINFO *dbei, wchar_t* buf, int cbBuf) mir_free(msg);
}
-static void GetUrlDescription(DBEVENTINFO *dbei, wchar_t* buf, int cbBuf)
-{
- int len = dbei->cbBlob;
- if (len >= cbBuf)
- len = cbBuf-1;
-
- MultiByteToWideChar(CP_ACP, 0, (LPCSTR)dbei->pBlob, len, buf, cbBuf);
- buf[ len ] = 0;
-
- if (len < cbBuf-3)
- mir_wstrcat(buf, L"\r\n");
-}
-
static void GetFileDescription(DBEVENTINFO *dbei, wchar_t* buf, int cbBuf)
{
int len = dbei->cbBlob - sizeof(DWORD);
@@ -78,10 +65,6 @@ static void GetObjectDescription(DBEVENTINFO *dbei, wchar_t* str, int cbStr) GetMessageDescription(dbei, str, cbStr);
break;
- case EVENTTYPE_URL:
- GetUrlDescription(dbei, str, cbStr);
- break;
-
case EVENTTYPE_FILE:
GetFileDescription(dbei, str, cbStr);
break;
@@ -104,11 +87,6 @@ static void GetObjectSummary(DBEVENTINFO *dbei, wchar_t* str, int cbStr) else pszSrc = TranslateT("Incoming message");
break;
- case EVENTTYPE_URL:
- if (dbei->flags & DBEF_SENT) pszSrc = TranslateT("Outgoing URL");
- else pszSrc = TranslateT("Incoming URL");
- break;
-
case EVENTTYPE_FILE:
if (dbei->flags & DBEF_SENT) pszSrc = TranslateT("Outgoing file");
else pszSrc = TranslateT("Incoming file");
|