Some Win32 fixes.

This commit is contained in:
Themaister 2013-12-24 14:10:18 +01:00
parent 58f8cde980
commit 8a81ee856c
2 changed files with 3 additions and 0 deletions

View File

@ -722,6 +722,8 @@ void global_uninit_drivers(void)
#ifdef HAVE_LOCATION
if (driver.location && driver.location_data)
{
if (g_extern.system.location_callback.deinitialized)
g_extern.system.location_callback.deinitialized();
driver.location->free(driver.location_data);
driver.location_data = NULL;
}

View File

@ -16,6 +16,7 @@
#include "../../general.h"
#include "../../input/keyboard_line.h"
#include "win32_common.h"
#include "../../input/input_common.h"
LRESULT win32_handle_keyboard_event(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
{