summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/main.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-04-10 07:17:34 +0000
committerRobert Pösel <robyer@seznam.cz>2013-04-10 07:17:34 +0000
commit567faf65895cc362a714fc60508fb676863031af (patch)
tree39ae3caef87285d8c66777a809181de96bf6f83b /protocols/FacebookRM/src/main.cpp
parent2db0f15d4e99fc869402268195fdf63d6131b34f (diff)
Removed spaces around brackets
git-svn-id: http://svn.miranda-ng.org/main/trunk@4406 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/main.cpp')
-rw-r--r--protocols/FacebookRM/src/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp
index 709d91cbd6..564bc195ae 100644
--- a/protocols/FacebookRM/src/main.cpp
+++ b/protocols/FacebookRM/src/main.cpp
@@ -75,7 +75,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCO
/////////////////////////////////////////////////////////////////////////////////////////
// Load
-static PROTO_INTERFACE* protoInit(const char *proto_name,const TCHAR *username )
+static PROTO_INTERFACE* protoInit(const char *proto_name,const TCHAR *username)
{
FacebookProto *proto = new FacebookProto(proto_name,username);
g_Instances.insert(proto);
@@ -84,7 +84,7 @@ static PROTO_INTERFACE* protoInit(const char *proto_name,const TCHAR *username )
static int protoUninit(PROTO_INTERFACE* proto)
{
- g_Instances.remove(( FacebookProto* )proto);
+ g_Instances.remove((FacebookProto*)proto);
return EXIT_SUCCESS;
}
@@ -109,22 +109,22 @@ extern "C" int __declspec(dllexport) Load(void)
// Init native User-Agent
{
std::stringstream agent;
-// DWORD mir_ver = ( DWORD )CallService( MS_SYSTEM_GETVERSION, NULL, NULL );
+// DWORD mir_ver = (DWORD)CallService(MS_SYSTEM_GETVERSION, NULL, NULL);
agent << "MirandaNG/";
- agent << (( g_mirandaVersion >> 24) & 0xFF);
+ agent << ((g_mirandaVersion >> 24) & 0xFF);
agent << ".";
- agent << (( g_mirandaVersion >> 16) & 0xFF);
+ agent << ((g_mirandaVersion >> 16) & 0xFF);
agent << ".";
- agent << (( g_mirandaVersion >> 8) & 0xFF);
+ agent << ((g_mirandaVersion >> 8) & 0xFF);
agent << ".";
- agent << (( g_mirandaVersion ) & 0xFF);
+ agent << ((g_mirandaVersion ) & 0xFF);
#ifdef _WIN64
agent << " Facebook Protocol RM x64/";
#else
agent << " Facebook Protocol RM/";
#endif
agent << __VERSION_STRING;
- g_strUserAgent = agent.str( );
+ g_strUserAgent = agent.str();
}
return 0;