summaryrefslogtreecommitdiff
path: root/lib/Handle.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-01 23:15:30 +0000
committerPixel <pixel@nobis-crew.org>2009-06-01 23:15:30 +0000
commiteb51dba54cca1085dd023280f0772888a6310aed (patch)
tree083422fc8cda3361eef25b861a8cb4e20175cdf4 /lib/Handle.cc
parent3541cb204f524adf524ee6ee2189ffb9e1c245ec (diff)
parent3495a6365f0e3dc3906844c37575438c62faca2a (diff)
Merge branch 'master' of ssh+git://pixel@git.grumpycoder.net/pub/repo.git/Baltisot
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r--lib/Handle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index 65935a4..110fcca 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -319,7 +319,7 @@ void Handle::close() throw (GeneralException) {
}
#if defined (_WIN32) && !defined (NO_HFILE)
if (hFile) {
- CloseHandle(hFile);
+ _close(GetHandle());
hFile = 0;
}
#endif