Browse Source

Added TypeConverter for conversion from char to word - fixes Context::ProcessTextInput(String)

Kezeali 15 years ago
parent
commit
22aedcca59
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Include/Rocket/Core/TypeConverter.inl

+ 2 - 0
Include/Rocket/Core/TypeConverter.inl

@@ -140,6 +140,8 @@ BASIC_CONVERTER_BOOL(float, bool);
 BASIC_CONVERTER(float, int);
 BASIC_CONVERTER(float, int);
 BASIC_CONVERTER(float, unsigned int);
 BASIC_CONVERTER(float, unsigned int);
 
 
+BASIC_CONVERTER(char, word);
+
 /////////////////////////////////////////////////
 /////////////////////////////////////////////////
 // From string converters
 // From string converters
 /////////////////////////////////////////////////
 /////////////////////////////////////////////////