From: Lars Rasmusson Date: Sat, 14 Jan 2012 11:14:36 +0000 (+0100) Subject: Replace tabs with four spaces to comply with coding standard in doc/coding.txt X-Git-Tag: v0.4.0-unstable~129^2~1^2~18^2~10^2~27^2~2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=b0870346f268d4c7f2d461c921ff63b6d967242d Replace tabs with four spaces to comply with coding standard in doc/coding.txt --- diff --git a/src/net.cpp b/src/net.cpp index 18bafd0..d99c73f 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1158,11 +1158,11 @@ void ThreadMapPort2(void* parg) #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port, port, lanaddr, strDesc.c_str(), "TCP", 0); + port, port, lanaddr, strDesc.c_str(), "TCP", 0); #else /* miniupnpc 1.6 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0"); + port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0"); #endif if(r!=UPNPCOMMAND_SUCCESS) diff --git a/src/qt/transactionfilterproxy.h b/src/qt/transactionfilterproxy.h index 4dd2a8e..17c1b48 100644 --- a/src/qt/transactionfilterproxy.h +++ b/src/qt/transactionfilterproxy.h @@ -29,7 +29,7 @@ public: // Set maximum number of rows returned, -1 if unlimited void setLimit(int limit); - int rowCount(const QModelIndex &parent = QModelIndex()) const; + int rowCount(const QModelIndex &parent = QModelIndex()) const; protected: bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const; diff --git a/src/util.h b/src/util.h index 78caff6..c57e82b 100644 --- a/src/util.h +++ b/src/util.h @@ -749,8 +749,8 @@ inline bool AffinityBugWorkaround(void(*pfn)(void*)) inline uint32_t ByteReverse(uint32_t value) { - value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); - return (value<<16) | (value>>16); + value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); + return (value<<16) | (value>>16); } #endif