From 4aa6229698b946e52ce19018aaf13f8b92fb168e Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 15 Jun 2012 14:13:45 +0000 Subject: another portion of "#ifsef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/updatenotify/updatenotify.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/modules/updatenotify') diff --git a/src/modules/updatenotify/updatenotify.cpp b/src/modules/updatenotify/updatenotify.cpp index 910b168687..5f7b3e67c4 100644 --- a/src/modules/updatenotify/updatenotify.cpp +++ b/src/modules/updatenotify/updatenotify.cpp @@ -236,10 +236,7 @@ static void UpdateNotifyReleaseLogUpdate(UpdateNotifyReleaseData *d) { Netlib_Logf(hNetlibUser, "Update server version: %s [%s] [64-bit]", d->szVersionPublic, d->szVersion); #elif defined(_UNICODE) Netlib_Logf(hNetlibUser, "Update server version: %s [%s] [Unicode]", d->szVersionPublic, d->szVersion); - #else - Netlib_Logf(hNetlibUser, "Update server version: %s [%s] [ANSI]", d->szVersionPublic, d->szVersion); #endif - } static void UpdateNotifyReleaseCopyData(UpdateNotifyReleaseData *d, UpdateNotifyData *und) { @@ -293,8 +290,6 @@ static int UpdateNotifyMakeRequest(UpdateNotifyData *und) { mir_snprintf(szUserAgent, sizeof(szUserAgent), "Miranda/%s (x64)", szVersion); #elif defined(_UNICODE) mir_snprintf(szUserAgent, sizeof(szUserAgent), "Miranda/%s (Unicode)", szVersion); - #else - mir_snprintf(szUserAgent, sizeof(szUserAgent), "Miranda/%s (ANSI)", szVersion); #endif req.headersCount = 1; req.headers = headers; @@ -330,10 +325,6 @@ static int UpdateNotifyMakeRequest(UpdateNotifyData *und) { if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasestable/downloadunicodeexe"), 0)) != NULL && xun.getText(n)) { rdStable.szDownload = mir_t2a(xun.getText(n)); } - #else - if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasestable/downloadansiexe"), 0)) != NULL && xun.getText(n)) { - rdStable.szDownload = mir_t2a(xun.getText(n)); - } #endif if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasestable/notesurl"), 0)) != NULL && xun.getText(n)) { rdStable.szNotes = mir_t2a(xun.getText(n)); @@ -359,10 +350,6 @@ static int UpdateNotifyMakeRequest(UpdateNotifyData *und) { if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasebeta/downloadunicodeexe"), 0)) != NULL && xun.getText(n)) { rdBeta.szDownload = mir_t2a(xun.getText(n)); } - #else - if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasebeta/downloadansiexe"), 0)) != NULL && xun.getText(n)) { - rdBeta.szDownload = mir_t2a(xun.getText(n)); - } #endif if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasebeta/notesurl"), 0)) != NULL && xun.getText(n)) { rdBeta.szNotes = mir_t2a(xun.getText(n)); @@ -388,10 +375,6 @@ static int UpdateNotifyMakeRequest(UpdateNotifyData *und) { if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasealpha/downloadunicodezip"), 0)) != NULL && xun.getText(n)) { rdAlpha.szDownload = mir_t2a(xun.getText(n)); } - #else - if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasealpha/downloadansizip"), 0)) != NULL && xun.getText(n)) { - rdAlpha.szDownload = mir_t2a(xun.getText(n)); - } #endif if ((n = xun.getChildByPath(nodeDoc, _T("releases/releasealpha/notesurl"), 0)) != NULL && xun.getText(n)) { rdAlpha.szNotes = mir_t2a(xun.getText(n)); -- cgit v1.2.3