[Scummvm-cvs-logs] scummvm master -> 604d906038576344e4196d54445603994604c24c

m-kiewitz m_kiewitz at users.sourceforge.net
Tue Feb 2 15:08:13 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
604d906038 SCI: make event type, modifiers + character uint16


Commit: 604d906038576344e4196d54445603994604c24c
    https://github.com/scummvm/scummvm/commit/604d906038576344e4196d54445603994604c24c
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-02T15:07:36+01:00

Commit Message:
SCI: make event type, modifiers + character uint16

Changed paths:
    engines/sci/event.h



diff --git a/engines/sci/event.h b/engines/sci/event.h
index 1e76f8e..6d4f065 100644
--- a/engines/sci/event.h
+++ b/engines/sci/event.h
@@ -29,14 +29,14 @@
 namespace Sci {
 
 struct SciEvent {
-	short type;
-	short modifiers;
+	uint16 type;
+	uint16 modifiers;
 	/**
 	 * For keyboard events: the actual character of the key that was pressed
 	 * For 'Alt', characters are interpreted by their
 	 * PC keyboard scancodes.
 	 */
-	short character;
+	uint16 character;
 
 	/**
 	 * The mouse position at the time the event was created.






More information about the Scummvm-git-logs mailing list