mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-24 20:23:26 +00:00
Changed hotkey handling for groups and bookmarks; small pathfinding fixes.
This was SVN commit r809.
This commit is contained in:
@@ -312,13 +312,13 @@ void ScriptingHost::ErrorReporter(JSContext * context, const char * message, JSE
|
||||
|
||||
if (g_Console)
|
||||
{
|
||||
g_Console->InsertMessage( L"%hs (%d)", report->filename, report->lineno );
|
||||
if (message)
|
||||
{
|
||||
g_Console->InsertMessage( L"%hs", message );
|
||||
g_Console->InsertMessage( L"JavaScript Error (%hs, line %d): %hs", report->filename, report->lineno, message );
|
||||
}
|
||||
else
|
||||
g_Console->InsertMessage( L"No error message available" );
|
||||
g_Console->InsertMessage( L"JavaScript Error (%hs, line %d): No error message available", report->filename, report->lineno );
|
||||
|
||||
}
|
||||
|
||||
if (report->filename != NULL)
|
||||
|
||||
Reference in New Issue
Block a user