mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-24 19:05:36 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -342,7 +342,7 @@ jsval JSParseString( const CStrW& Native )
|
||||
CParser stringParser;
|
||||
stringParser.InputTaskType( "string", "_$value_" );
|
||||
CParserLine result;
|
||||
result.ParseString( stringParser, (CStr)Native );
|
||||
result.ParseString( stringParser, CStr(Native) );
|
||||
bool boolResult; int intResult; float floatResult;
|
||||
|
||||
if( result.GetArgFloat( 0, floatResult ) )
|
||||
|
||||
Reference in New Issue
Block a user