Skip to content

Commit 7e2c85e

Browse files
author
4b796c65
committed
Fixed possible race condition
1 parent 031e1d6 commit 7e2c85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tdl/__tcod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _get_library_crossplatform():
3131
libpath = None
3232
if 'win32' in sys.platform:
3333
libSDL = _loadDLL('lib/win32/SDL.dll')
34-
_loadDLL('lib/win32/zlib1.dll')
34+
libZ = _loadDLL('lib/win32/zlib1.dll')
3535
libTCOD = _loadDLL('lib/win32/libtcod-VS.dll')
3636
elif 'linux' in sys.platform:
3737
libSDL = None

0 commit comments

Comments
 (0)