From 210470d98706d36f0b8ad45ce20a2670a7a5f2fb Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Tue, 11 May 2010 07:18:31 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47808 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- win32/gui/plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win32/gui/plugin.c') diff --git a/win32/gui/plugin.c b/win32/gui/plugin.c index 4f83b9ef..20a18db3 100644 --- a/win32/gui/plugin.c +++ b/win32/gui/plugin.c @@ -214,7 +214,7 @@ int _OpenPlugins(HWND hWnd) { if (ret < 0) { SysMessage (_("Error Opening CDR Plugin")); return -1; } SetCurrentDirectory(PcsxDir); - if (Config.UseNet && NetOpened == 0) { + if (Config.UseNet && !NetOpened) { netInfo info; char path[256]; @@ -268,7 +268,7 @@ int _OpenPlugins(HWND hWnd) { DestroyWindow(hW); } - NetOpened = 1; + NetOpened = TRUE; } else if (Config.UseNet) { NET_resume(); } @@ -344,5 +344,5 @@ void ResetPlugins() { if (ret < 0) { SysMessage (_("NETinit error: %d"), ret); return; } } - NetOpened = 0; + NetOpened = FALSE; } -- cgit v1.2.3