summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NPClientWraps.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/NPClientWraps.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/NPClientWraps.cpp')
-rw-r--r--Stars45/NPClientWraps.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Stars45/NPClientWraps.cpp b/Stars45/NPClientWraps.cpp
index e4ba0f4..ffdfe14 100644
--- a/Stars45/NPClientWraps.cpp
+++ b/Stars45/NPClientWraps.cpp
@@ -201,7 +201,7 @@ NPRESULT NPClient_Init( const char* csDLLPath )
csNPClientDLLFullPath += "NPClient.dll";
ghNPClientDLL = ::LoadLibrary( csNPClientDLLFullPath.data() );
-
+
if (NULL != ghNPClientDLL) {
// verify the dll signature
gpfNP_GetSignature = (PF_NP_GETSIGNATURE)::GetProcAddress( ghNPClientDLL, "NP_GetSignature" );
@@ -215,10 +215,10 @@ NPRESULT NPClient_Init( const char* csDLLPath )
NPRESULT vresult = NP_GetSignature( &pSignature );
if( vresult == NP_OK )
{
- if ((strcmp(verifySignature.DllSignature,pSignature.DllSignature)==0)
+ if ((strcmp(verifySignature.DllSignature,pSignature.DllSignature)==0)
&& (strcmp(verifySignature.AppSignature,pSignature.AppSignature)==0))
- {
- result = NP_OK;
+ {
+ result = NP_OK;
// Get addresses of all exported functions
gpfNP_RegisterWindowHandle = (PF_NP_REGISTERWINDOWHANDLE)::GetProcAddress( ghNPClientDLL, "NP_RegisterWindowHandle" );
@@ -234,13 +234,13 @@ NPRESULT NPClient_Init( const char* csDLLPath )
gpfNP_StopDataTransmission = (PF_NP_STOPDATATRANSMISSION)::GetProcAddress( ghNPClientDLL, "NP_StopDataTransmission" );
}
else
- {
- result = NP_ERR_DLL_NOT_FOUND;
+ {
+ result = NP_ERR_DLL_NOT_FOUND;
}
}
else
{
- result = NP_ERR_DLL_NOT_FOUND;
+ result = NP_ERR_DLL_NOT_FOUND;
}
}
else