summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-24 19:16:23 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-24 19:16:23 +0000
commitb7d7eddffe6c941f44eeb8b05d5fe094e0f40b97 (patch)
tree6f75400e89ad7ba50b59f3aada91e37ee2efb134
parent09a2daea5d8751de9e20f711725896e44bd72514 (diff)
downloadhercules-b7d7eddffe6c941f44eeb8b05d5fe094e0f40b97.tar.gz
hercules-b7d7eddffe6c941f44eeb8b05d5fe094e0f40b97.tar.bz2
hercules-b7d7eddffe6c941f44eeb8b05d5fe094e0f40b97.tar.xz
hercules-b7d7eddffe6c941f44eeb8b05d5fe094e0f40b97.zip
Fixed Ctrl+c shutdown function on windows, followup r15706. (bugreport:5495)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15790 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/common/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 243fac24c..c77552fb7 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -87,7 +87,7 @@ static BOOL WINAPI console_handler(DWORD c_event)
runflag = CORE_ST_STOP;// auto-shutdown
break;
default:
- break;
+ return FALSE;
}
return TRUE;
}